|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.core.comm.ServerAutoDiscoveryListener
public class ServerAutoDiscoveryListener
Listens for new agents coming on and going offline.
| Constructor Summary | |
|---|---|
ServerAutoDiscoveryListener(KnownAgents agents)
Constructor for ServerAutoDiscoveryListener. |
|
| Method Summary | |
|---|---|
void |
serverOffline(org.jboss.remoting.InvokerLocator locator)
This removes the given locator URL from the list of known agents. |
void |
serverOnline(org.jboss.remoting.InvokerLocator locator)
This adds the new agent's locator URL to the list of known agents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerAutoDiscoveryListener(KnownAgents agents)
ServerAutoDiscoveryListener.
agents - the list that will contain all known agents' remote endpoints| Method Detail |
|---|
public void serverOnline(org.jboss.remoting.InvokerLocator locator)
locator URL to the list of known agents.
serverOnline in interface AutoDiscoveryListenerAutoDiscoveryListener.serverOnline(InvokerLocator)public void serverOffline(org.jboss.remoting.InvokerLocator locator)
locator URL from the list of known agents.
serverOffline in interface AutoDiscoveryListenerAutoDiscoveryListener.serverOffline(InvokerLocator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||