public class ServerAutoDiscoveryListener extends Object implements AutoDiscoveryListener
| Constructor and Description |
|---|
ServerAutoDiscoveryListener(KnownAgents agents)
Constructor for
ServerAutoDiscoveryListener. |
| Modifier and Type | Method and Description |
|---|---|
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. |
public ServerAutoDiscoveryListener(KnownAgents agents)
ServerAutoDiscoveryListener.agents - the list that will contain all known agents' remote endpointspublic 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)Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.