com.tivoli.twg.libs
Interface CommandCompleteListener

All Known Implementing Classes:
FSAgent, MSCSManagedObjectFactory.ValidateClusterInfo, TWGConsoleServiceNode, TWGNativeManagedObjectFactory

public interface CommandCompleteListener

CommandCompleteListener is a listener interface definition which allows an alternative to subclassing Command in order to receive CommandComplete() notifications. By implementing the CommandCompleteListener interface, an object can be defined which can be registered as the listener for a Command. The registered object will then be called when the CommandComplete() would normally be called.


Method Summary
 void CommandComplete(Command cmd)
          Command completion callback.
 

Method Detail

CommandComplete

public void CommandComplete(Command cmd)
Command completion callback. This listener method is called when a Command instance registered to this listener is completed.

Parameters:
cmd - - Command instance of command which has completed