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:
05: package com.tc.net.protocol.tcm;
06:
07: import java.util.Set;
08:
09: /**
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 Set getAllChannelIDs();
24:
25: public void closeAllChannels();
26: }
|