org.jboss.messaging.core.remoting.server
Interface RemotingService
- All Superinterfaces:
- MessagingComponent
- All Known Implementing Classes:
- RemotingServiceImpl
public interface RemotingService
- extends MessagingComponent
- Version:
- $Revision$
- Author:
- Jeff Mesnil, Andy Taylor, Tim Fox
getConnection
RemotingConnection getConnection(java.lang.Object remotingConnectionID)
removeConnection
RemotingConnection removeConnection(java.lang.Object remotingConnectionID)
- Remove a connection from the connections held by the remoting service.
This method must be used only from the management API.
RemotingConnections are removed from the remoting service when their connectionTTL is hit.
- Parameters:
remotingConnectionID
- the ID of the RemotingConnection to removed
- Returns:
- the removed RemotingConnection
getConnections
java.util.Set<RemotingConnection> getConnections()
addInterceptor
void addInterceptor(Interceptor interceptor)
removeInterceptor
boolean removeInterceptor(Interceptor interceptor)
freeze
void freeze()
getServerSideReplicatingConnection
RemotingConnection getServerSideReplicatingConnection()
Copyright © 2006 JBoss Inc. All Rights Reserved.