Framework Professional Edition Package


org.mbs.services.powermon
Interface PowerMonitorListener


public interface PowerMonitorListener

A Service can register itself as a PowerMonitorListener. Doing so, it will be notified when a change in the powerstatus occurs.

Author:
Teodor Todorov , Hristo Stanchev

Method Summary
 void powerStatusChanged(PowerStatus newStatus)
          This method will be called when a change in the powerstate of the system occures.
 

Method Detail

powerStatusChanged

void powerStatusChanged(PowerStatus newStatus)
This method will be called when a change in the powerstate of the system occures. newStatus represents the current powerState of the system. newStatus can be null if the native method fails.

Parameters:
newStatus -

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved