Package oracle.simplefan
Interface FanUpEventListener
-
- All Superinterfaces:
java.util.EventListener
,FanEventListener
public interface FanUpEventListener extends FanEventListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleEvent(NodeUpEvent event)
This method handles NodeUpEvents.void
handleEvent(ServiceUpEvent event)
This method handles ServiceUpEvents.-
Methods inherited from interface oracle.simplefan.FanEventListener
handleEvent, handleEvent, handleEvent
-
-
-
-
Method Detail
-
handleEvent
void handleEvent(ServiceUpEvent event)
This method handles ServiceUpEvents. This method should return quickly. If it cannot do so, then it should start its work in another thread. If this method does not return quickly, it will delay processing of this and subsequent FAN events. The argument can be captured.ServiceUpEvent gets generated on any
service
getting up and running on any instance. By implementing this method, the client take advantage of this service.- Parameters:
event
- the attributes of the FAN event.
-
handleEvent
void handleEvent(NodeUpEvent event)
This method handles NodeUpEvents. This method should return quickly. If it cannot do so, then it should start its work in another thread. If this method does not return quickly, it will delay processing of this and subsequent FAN events. The argument can be captured.NodeUpEvent gets generated on any
Instance
getting up and running. By implementing this method, the client can take advantage of this Instance.- Parameters:
event
- the attributes of the FAN event.
-
-