org.jboss.messaging.core.server
Interface ConnectionManager
- All Known Implementing Classes:
- ConnectionManagerImpl
public interface ConnectionManager
An interface that allows management of ConnectionEnpoints and their association with remoting
clients.
- Version:
- $Revision: 4074 $
$Id: ConnectionManager.java 4074 2008-04-17 15:33:42Z jmesnil $
- Author:
- Ovidiu Feodorov, Tim Fox, Jeff Mesnil
registerConnection
void registerConnection(long remotingClientSessionID,
ServerConnection endpoint)
unregisterConnection
ServerConnection unregisterConnection(long remotingClientSessionID,
ServerConnection ServerConnection)
- Parameters:
ServerConnection
-
- Returns:
- null if there is no such connection.
getActiveConnections
java.util.List<ServerConnection> getActiveConnections()
- Returns a list of active connection endpoints currently maintained by an instance of this
manager. The implementation should make a copy of the list to avoid
ConcurrentModificationException. The list could be empty, but never null.
- Returns:
- List
Copyright © 2006 JBoss Inc. All Rights Reserved.