org.jgroups.stack
Class RouterStubManager
java.lang.Object
org.jgroups.stack.RouterStubManager
- All Implemented Interfaces:
- RouterStub.ConnectionListener
public class RouterStubManager
- extends java.lang.Object
- implements RouterStub.ConnectionListener
Field Summary |
protected Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Log log
RouterStubManager
public RouterStubManager(Protocol owner,
java.lang.String channelName,
Address logicalAddress,
long interval)
getStubs
public java.util.List<RouterStub> getStubs()
createAndRegisterStub
public RouterStub createAndRegisterStub(java.lang.String routerHost,
int routerPort,
java.net.InetAddress bindAddress)
registerStub
public void registerStub(RouterStub s)
unregisterStub
public boolean unregisterStub(RouterStub s)
unregisterStub
public RouterStub unregisterStub(java.net.InetSocketAddress address)
unregisterAndDestroyStub
public boolean unregisterAndDestroyStub(java.net.InetSocketAddress address)
disconnectStubs
public void disconnectStubs()
destroyStubs
public void destroyStubs()
startReconnecting
public void startReconnecting(RouterStub stub)
stopReconnecting
public void stopReconnecting(RouterStub stub)
connectionStatusChange
public void connectionStatusChange(RouterStub stub,
RouterStub.ConnectionStatus newState)
- Specified by:
connectionStatusChange
in interface RouterStub.ConnectionListener
emptyGossipClientStubManager
public static RouterStubManager emptyGossipClientStubManager(Protocol p)
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.