| java.lang.Object com.tc.net.protocol.tcm.CommunicationsManagerImpl
CommunicationsManagerImpl | public class CommunicationsManagerImpl implements CommunicationsManager(Code) | | Communications manager for setting up listners and creating client connections
author: teck |
Method Summary | |
public ClientMessageChannel | createClientChannel(SessionProvider sessionProvider, int maxReconnectTries, String hostname, int port, int timeout, ConnectionAddressProvider addressProvider) | TCListener | createCommsListener(TCSocketAddress addr, ServerMessageChannelFactory channelFactory, boolean resueAddr, Set initialConnectionIDs, ConnectionIDFactory connectionIdFactory, Sink httpSink, WireProtocolMessageSink wireProtocolMessageSink) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory) Creates a network listener with a default network stack. | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress address, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIDFactory, Sink httpSink) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory, boolean reuseAddr) | public NetworkListener | createListener(SessionProvider sessionProvider, TCSocketAddress addr, boolean transportDisconnectRemovesChannel, ConnectionIDFactory connectionIdFactory, WireProtocolMessageSink wireProtoMsgSnk) | public NetworkListener[] | getAllListeners() | public TCConnectionManager | getConnectionManager() | public boolean | isInShutdown() | void | registerListener(NetworkListener lsnr) | public void | shutdown() | void | unregisterListener(NetworkListener lsnr) |
CommunicationsManagerImpl | public CommunicationsManagerImpl(MessageMonitor monitor, NetworkStackHarnessFactory stackHarnessFactory, ConnectionPolicy connectionPolicy)(Code) | | Create a communications manager. This implies that one or more network handling threads will be started on your
behalf. As such, you should not be instantiating one of these per connection for instance.
|
CommunicationsManagerImpl | public CommunicationsManagerImpl(MessageMonitor monitor, NetworkStackHarnessFactory stackHarnessFactory, TCConnectionManager connMgr, ConnectionPolicy connectionPolicy)(Code) | | Create a comms manager with the given connection manager. This cstr is mostly for testing, or in the event that you
actually want to use an explicit connection manager
Parameters: connMgr - the connection manager to use Parameters: serverDescriptors - |
isInShutdown | public boolean isInShutdown()(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|