org.commonreality.message.request.object
Class ObjectDataRequest
java.lang.Object
org.commonreality.message.impl.BaseMessage
org.commonreality.message.request.object.ObjectDataRequest
- All Implemented Interfaces:
- java.io.Serializable, IMessage, IRequest, IObjectDataRequest
public class ObjectDataRequest
- extends BaseMessage
- implements IObjectDataRequest
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectDataRequest
public ObjectDataRequest(IIdentifier source,
IIdentifier destination,
java.util.Collection<? extends IObjectDelta> data)
- Parameters:
source -
copy
public IMessage copy()
- Specified by:
copy in interface IMessage
getDestination
public IIdentifier getDestination()
- Description copied from interface:
IObjectDataRequest
- the destination for this data request (if a sensor is sending
data it should be addressed to a specific agent only, or in the
case on
IRealObject's to IIdentifier.ALL
- Specified by:
getDestination in interface IObjectDataRequest
- Returns:
- See Also:
IObjectDataRequest.getDestination()
getData
public java.util.Collection<IObjectDelta> getData()
- Specified by:
getData in interface IObjectDataRequest
- See Also:
IObjectDataRequest.getData()
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()