Sonic Management API

com.sonicsw.mf.common.runtime
Interface IStateListener


public interface IStateListener

State listener methods are called for all state changes. State listeners are registered with a StateManager.

See Also:
StateManager

Method Summary
 void stateChanged(short previousState, short currentState)
          Called immediately after a state controller successfully actions a requested state change.
 void stateChangeFailed(short currentState, short intendedState)
          Called immediately before a state controller unsuccessfully actions a requested state change.
 void stateChanging(short currentState, short intendedState)
          Called immediately before a state controller actions a requested state change.
 

Method Detail

stateChanged

void stateChanged(short previousState,
                  short currentState)
Called immediately after a state controller successfully actions a requested state change.

See Also:
IStateController

stateChangeFailed

void stateChangeFailed(short currentState,
                       short intendedState)
Called immediately before a state controller unsuccessfully actions a requested state change.

See Also:
IStateController

stateChanging

void stateChanging(short currentState,
                   short intendedState)
Called immediately before a state controller actions a requested state change.

See Also:
IStateController

Sonic Management API

Copyright © 2001-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 12-Aug-2011.