org.commonreality.message.request.object
Class ObjectCommandRequest

java.lang.Object
  extended by org.commonreality.message.impl.BaseMessage
      extended by 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

Constructor Summary
ObjectCommandRequest(IIdentifier source, IIdentifier destination, IObjectCommand.Type type, java.util.Collection<IIdentifier> identifiers)
           
 
Method Summary
 boolean acknowledgementRequired()
          if the sender of this request requires acknowledgment
 IMessage copy()
           
 IIdentifier getDestination()
          destination for this message.
 java.util.Collection<IIdentifier> getIdentifiers()
           
 IObjectCommand.Type getType()
           
 
Methods inherited from class org.commonreality.message.impl.BaseMessage
getMessageId, getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.commonreality.message.IMessage
getMessageId, getSource
 

Constructor Detail

ObjectCommandRequest

public ObjectCommandRequest(IIdentifier source,
                            IIdentifier destination,
                            IObjectCommand.Type type,
                            java.util.Collection<IIdentifier> identifiers)
Parameters:
source -
Method Detail

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()