org.rhq.enterprise.communications.command.server.discovery
Interface AutoDiscoveryListener


public interface AutoDiscoveryListener

A listener interface that gets notified when the registry of known servers has changed (for example, when new servers come online or old servers go down).

Author:
John Mazzitelli
See Also:
ServiceContainer.addDiscoveryListener(AutoDiscoveryListener)

Method Summary
 void serverOffline(org.jboss.remoting.InvokerLocator locator)
          Invoked when an old server has gone offline.
 void serverOnline(org.jboss.remoting.InvokerLocator locator)
          Invoked when a new server has come online.
 

Method Detail

serverOnline

void serverOnline(org.jboss.remoting.InvokerLocator locator)
Invoked when a new server has come online.

Parameters:
locator - the invoker locator of the new server that has been discovered

serverOffline

void serverOffline(org.jboss.remoting.InvokerLocator locator)
Invoked when an old server has gone offline.

Parameters:
locator - the invoker locator of the old server that has gone offline


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.