org.commonreality.message.request.object
Class ObjectCommandRequest
java.lang.Object
org.commonreality.message.impl.BaseMessage
org.commonreality.message.request.object.ObjectCommandRequest
- All Implemented Interfaces:
- java.io.Serializable, IMessage, IRequest, IObjectCommandRequest
public class ObjectCommandRequest
- extends BaseMessage
- implements IObjectCommandRequest
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectCommandRequest
public ObjectCommandRequest(IIdentifier source,
IIdentifier destination,
IObjectCommand.Type type,
java.util.Collection<IIdentifier> identifiers)
- Parameters:
source -
copy
public IMessage copy()
- Specified by:
copy in interface IMessage
getDestination
public IIdentifier getDestination()
- Description copied from interface:
IObjectCommandRequest
- destination for this message. in the case of sensor-agent
- Specified by:
getDestination in interface IObjectCommandRequest
- Returns:
- See Also:
IObjectCommandRequest.getDestination()
getIdentifiers
public java.util.Collection<IIdentifier> getIdentifiers()
- Specified by:
getIdentifiers in interface IObjectCommandRequest
- See Also:
IObjectCommandRequest.getIdentifiers()
getType
public IObjectCommand.Type getType()
- Specified by:
getType in interface IObjectCommandRequest
- See Also:
IObjectCommandRequest.getType()
acknowledgementRequired
public boolean acknowledgementRequired()
- Description copied from interface:
IRequest
- if the sender of this request requires acknowledgment
- Specified by:
acknowledgementRequired in interface IRequest
- Returns:
- See Also:
IRequest.acknowledgementRequired()