com.tivoli.twg.engine
Interface RemoteMOStateChangeListener


public interface RemoteMOStateChangeListener

This interface must be implemented for an object to be able to register with TWGRemoteTaskManager to receive managed object state change notifications.


Method Summary
 void remoteMOStateChanged(long moid, long mofoid, int oldState, int newState, java.lang.String name, byte[] address)
          This method is called when a managed object life cycle change has been received from the engine.
 

Method Detail

remoteMOStateChanged

public void remoteMOStateChanged(long moid,
                                 long mofoid,
                                 int oldState,
                                 int newState,
                                 java.lang.String name,
                                 byte[] address)
This method is called when a managed object life cycle change has been received from the engine.

Parameters:
moid - ID of the managed object (MO) that has changed.
mofoid - ID of the managed object (MOF) factory for the changed MO
oldState - Previous state of the managed object. See TWGManagedObjectConstants for possible values (MOSTATE_*).
newState - New current state for the managed object. See TWGManagedObjectConstants for possible values (MOSTATE_*).
name - Name of the managed object as displayed on the console.
address - Address entry record for the managed object. Use the appropriate AddressEntryShadow subclass to retrieve various addressing infromation from this byte array.