public class ControlCommand extends BaseMessage implements IControlCommand
IControlCommand.State
Constructor and Description |
---|
ControlCommand(IIdentifier source,
IControlCommand.State state) |
ControlCommand(IIdentifier source,
IControlCommand.State state,
java.lang.Object extra) |
Modifier and Type | Method and Description |
---|---|
boolean |
acknowledgementRequired()
common reality requires confirmation that this has been handled
|
IMessage |
copy() |
java.lang.Object |
getData()
return additional data
|
IControlCommand.State |
getState()
what state should the participants go to
|
getMessageId, getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageId, getSource
public ControlCommand(IIdentifier source, IControlCommand.State state, java.lang.Object extra)
source
- public ControlCommand(IIdentifier source, IControlCommand.State state)
public IControlCommand.State getState()
IControlCommand
getState
in interface IControlCommand
public java.lang.Object getData()
IControlCommand
getData
in interface IControlCommand
IControlCommand.getData()
public boolean acknowledgementRequired()
acknowledgementRequired
in interface IRequest
IRequest.acknowledgementRequired()