copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_RequestObjectUpdate

java.lang.Object
  extended by com.lbf.commons.messaging.RequestMessage
      extended by org.portico.shared.msg.RTI_RequestMessage
          extended by org.portico.shared.msg.RTI_RequestObjectUpdate
All Implemented Interfaces:
Serializable

public class RTI_RequestObjectUpdate
extends RTI_RequestMessage

Request the update of the attributes for a given object instance by the federates that own them.

See Also:
Serialized Form

Field Summary
private  HashSet<Integer> attributes
           
private  int objectId
           
private static long serialVersionUID
           
private  byte[] tag
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_RequestObjectUpdate()
           
RTI_RequestObjectUpdate(int objectId, HashSet<Integer> attributes)
           
RTI_RequestObjectUpdate(int objectId, HashSet<Integer> attributes, byte[] tag)
           
 
Method Summary
 HashSet<Integer> getAttributes()
           
 int getObjectId()
           
 byte[] getTag()
           
 void setAttributes(HashSet<Integer> attributes)
           
 void setObjectId(int objectId)
           
 void setTag(byte[] tag)
           
 
Methods inherited from class org.portico.shared.msg.RTI_RequestMessage
bytesToString, getTargetFederate, getTimestamp, isTimestamped, readExternal, setTargetFederate, setTimestamp, stringToBytes, writeExternal
 
Methods inherited from class com.lbf.commons.messaging.RequestMessage
getIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

objectId

private int objectId

attributes

private HashSet<Integer> attributes

tag

private byte[] tag
Constructor Detail

RTI_RequestObjectUpdate

public RTI_RequestObjectUpdate()

RTI_RequestObjectUpdate

public RTI_RequestObjectUpdate(int objectId,
                               HashSet<Integer> attributes)

RTI_RequestObjectUpdate

public RTI_RequestObjectUpdate(int objectId,
                               HashSet<Integer> attributes,
                               byte[] tag)
Method Detail

getAttributes

public HashSet<Integer> getAttributes()

setAttributes

public void setAttributes(HashSet<Integer> attributes)

getObjectId

public int getObjectId()

setObjectId

public void setObjectId(int objectId)

getTag

public byte[] getTag()

setTag

public void setTag(byte[] tag)

copyright The Portico Project 2008.