KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > ClientMessageChannel


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.protocol.tcm;
5
6 import com.tc.async.api.Sink;
7
8 public interface ClientMessageChannel extends MessageChannel {
9
10   public void addClassMapping(TCMessageType type, Class JavaDoc msgClass);
11
12   public void routeMessageType(TCMessageType messageType, Sink destSink, Sink hydrateSink);
13
14   public void routeMessageType(TCMessageType type, TCMessageSink sink);
15   
16   public void unrouteMessageType(TCMessageType type);
17
18   public int getConnectCount();
19
20   public int getConnectAttemptCount();
21
22   public ChannelIDProvider getChannelIDProvider();
23   
24 }
25
Popular Tags