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

Method Summary
 void addInterceptor(Interceptor interceptor)
           
 void freeze()
           
 RemotingConnection getConnection(java.lang.Object remotingConnectionID)
           
 java.util.Set<RemotingConnection> getConnections()
           
 RemotingConnection getServerSideReplicatingConnection()
           
 RemotingConnection removeConnection(java.lang.Object remotingConnectionID)
          Remove a connection from the connections held by the remoting service.
 boolean removeInterceptor(Interceptor interceptor)
           
 
Methods inherited from interface org.jboss.messaging.core.server.MessagingComponent
isStarted, start, stop
 

Method Detail

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.