| com.tc.net.protocol.tcm.CommunicationsManager
All known Subclasses: com.tc.net.protocol.tcm.TestCommunicationsManager, com.tc.net.protocol.tcm.CommunicationsManagerImpl,
CommunicationsManager | public interface CommunicationsManager (Code) | | CommsMgr provides Listener and Channel endpoints for exchanging TCMessage type messages
|
Method Summary | |
public ClientMessageChannel | createClientChannel(SessionProvider sessionProvider, int maxReconnectTries, String hostname, int port, int timeout, ConnectionAddressProvider addressProvider) Creates a client message channel to the given host/port.
Parameters: maxReconnectTries - The number of times the channel will attempt to reestablish communications with the serverif the connection is lost. | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory, WireProtocolMessageSink wireProtoMsgSink) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory, boolean reuseAddress) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress address, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIDFactory, Sink httpSink) | public NetworkListener[] | getAllListeners() | public TCConnectionManager | getConnectionManager() | public boolean | isInShutdown() | public void | shutdown() |
createClientChannel | public ClientMessageChannel createClientChannel(SessionProvider sessionProvider, int maxReconnectTries, String hostname, int port, int timeout, ConnectionAddressProvider addressProvider)(Code) | | Creates a client message channel to the given host/port.
Parameters: maxReconnectTries - The number of times the channel will attempt to reestablish communications with the serverif the connection is lost. If n==0, the channel will not attempt to reestablish communications. If n>0, thechannel will attempt to reestablish communications n times. If n<0 the channel will always try toreestablish communications. Parameters: hostname - The hostname to connect to. Parameters: port - The remote port to connect to. Parameters: timeout - The maximum time (in milliseconds) to wait for the underlying connection to be established beforegiving up. |
isInShutdown | public boolean isInShutdown()(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|