01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol.tcm;
05:
06: import com.tc.async.api.Sink;
07:
08: public interface ClientMessageChannel extends MessageChannel {
09:
10: public void addClassMapping(TCMessageType type, Class msgClass);
11:
12: public void routeMessageType(TCMessageType messageType,
13: Sink destSink, Sink hydrateSink);
14:
15: public void routeMessageType(TCMessageType type, TCMessageSink sink);
16:
17: public void unrouteMessageType(TCMessageType type);
18:
19: public int getConnectCount();
20:
21: public int getConnectAttemptCount();
22:
23: public ChannelIDProvider getChannelIDProvider();
24:
25: }
|