org.commonreality.message.command.control
Class ControlCommand
java.lang.Object
org.commonreality.message.impl.BaseMessage
org.commonreality.message.command.control.ControlCommand
- All Implemented Interfaces:
- java.io.Serializable, IControlCommand, ICommand, IMessage, IRequest
public class ControlCommand
- extends BaseMessage
- implements IControlCommand
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ControlCommand
public ControlCommand(IIdentifier source,
IControlCommand.State state,
java.lang.Object extra)
- Parameters:
source -
ControlCommand
public ControlCommand(IIdentifier source,
IControlCommand.State state)
copy
public IMessage copy()
- Specified by:
copy in interface IMessage
getState
public IControlCommand.State getState()
- Description copied from interface:
IControlCommand
- what state should the participants go to
- Specified by:
getState in interface IControlCommand
- Returns:
getData
public java.lang.Object getData()
- Description copied from interface:
IControlCommand
- return additional data
- Specified by:
getData in interface IControlCommand
- Returns:
- See Also:
IControlCommand.getData()
acknowledgementRequired
public boolean acknowledgementRequired()
- common reality requires confirmation that this has been handled
- Specified by:
acknowledgementRequired in interface IRequest
- Returns:
- See Also:
IRequest.acknowledgementRequired()