org.mbari.siam.core
Interface PowerListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
FOCENodeService, MOOSNodeService, NodeService

public interface PowerListener
extends java.util.EventListener

PowerListener is an interface that must be implemented by objects that wish to intercept PowerEvents.


Method Summary
 void failureDetected(PowerEvent e)
          Action performed when power failure is detected
 void shutdown(PowerEvent e)
          Action performed when system is shutting down
 

Method Detail

shutdown

void shutdown(PowerEvent e)
Action performed when system is shutting down


failureDetected

void failureDetected(PowerEvent e)
Action performed when power failure is detected



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.