com.caucho.cloud.topology
Class AbstractCloudServerListener

java.lang.Object
  extended by com.caucho.cloud.topology.AbstractCloudServerListener
All Implemented Interfaces:
CloudServerListener
Direct Known Subclasses:
BamTriadSender

public class AbstractCloudServerListener
extends java.lang.Object
implements CloudServerListener

Listener to detect when a server is added or removed.


Constructor Summary
AbstractCloudServerListener()
           
 
Method Summary
 void onServerAdd(CloudServer server)
           
 void onServerRemove(CloudServer server)
           
 void onServerStateChange(CloudServer server)
           
 void onTriadAdd(TriadServer server)
           
 void onTriadRemove(TriadServer server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCloudServerListener

public AbstractCloudServerListener()
Method Detail

onServerAdd

public void onServerAdd(CloudServer server)
Specified by:
onServerAdd in interface CloudServerListener

onServerRemove

public void onServerRemove(CloudServer server)
Specified by:
onServerRemove in interface CloudServerListener

onServerStateChange

public void onServerStateChange(CloudServer server)
Specified by:
onServerStateChange in interface CloudServerListener

onTriadAdd

public void onTriadAdd(TriadServer server)
Specified by:
onTriadAdd in interface CloudServerListener

onTriadRemove

public void onTriadRemove(TriadServer server)
Specified by:
onTriadRemove in interface CloudServerListener