org.jboss.jms.server
Interface ConnectionManager
- All Superinterfaces:
- MessagingComponent
- All Known Implementing Classes:
- SimpleConnectionManager
- public interface ConnectionManager
- extends MessagingComponent
An interface that allows management of ConnectionEnpoints and their association with remoting
clients.
- Version:
- $Revision: 2684 $
$Id: ConnectionManager.java 2684 2007-05-15 07:31:30Z timfox $
- Author:
- Ovidiu Feodorov, Tim Fox
registerConnection
public void registerConnection(java.lang.String jmsClientVMId,
java.lang.String remotingClientSessionID,
ConnectionEndpoint endpoint)
unregisterConnection
public ConnectionEndpoint unregisterConnection(java.lang.String jmsClientVMID,
java.lang.String remotingClientSessionID)
- Returns:
- null if there is no such connection.
containsRemotingSession
public boolean containsRemotingSession(java.lang.String remotingClientSessionID)
getActiveConnections
public java.util.List 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
handleClientFailure
public void handleClientFailure(java.lang.String remotingSessionID,
boolean clientToServer)
- Parameters:
clientToServer
- - true if the failure has been detected on a direct connection from
client to this server, false if the failure has been detected while trying to send a
callback from this server to the client.
Copyright © 2006 JBoss Inc. All Rights Reserved.