com.tivoli.twg.engine
Interface RemoteMOLifeCycleListener


public interface RemoteMOLifeCycleListener

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


Field Summary
static int CHANGED
          Managed object changed (morphed)
static int CREATED
          Managed object was created
static int DESTROYED
          Managed object was destroyed
 
Method Summary
 void remoteMOLifeCycleChanged(long moid, long mofoid, int status, java.lang.String name, byte[] address)
          This method is called when a managed object life cycle change has been received from the engine.
 

Field Detail

CREATED

public static final int CREATED
Managed object was created

See Also:
Constant Field Values

DESTROYED

public static final int DESTROYED
Managed object was destroyed

See Also:
Constant Field Values

CHANGED

public static final int CHANGED
Managed object changed (morphed)

See Also:
Constant Field Values
Method Detail

remoteMOLifeCycleChanged

public void remoteMOLifeCycleChanged(long moid,
                                     long mofoid,
                                     int status,
                                     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
status - Type of change that occurred. See the values defined above.
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.