KickJava   Java API By Example, From Geeks To Geeks.

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


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
5 package com.tc.net.protocol.tcm;
6
7 import java.util.Collection JavaDoc;
8
9 /**
10  * provides the sessionIDs
11  *
12  * @author steve
13  */

14 public interface ChannelManager {
15   public MessageChannelInternal getChannel(ChannelID id);
16
17   public MessageChannelInternal[] getChannels();
18
19   public boolean isValidID(ChannelID channelID);
20
21   public void addEventListener(ChannelManagerEventListener listener);
22
23   public Collection JavaDoc getAllChannelIDs();
24
25   public void closeAllChannels();
26 }
27
Popular Tags