copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_RequestClassUpdate

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_RequestClassUpdate
All Implemented Interfaces:
Serializable

public class RTI_RequestClassUpdate
extends RTI_RequestMessage

Request the update of all instances for a given class (or its subclasses) by the federates that own the instances. The attributes desired for the update are provided in the set of handles.

See Also:
Serialized Form

Field Summary
private  Set<Integer> attributeHandles
           
private  int classHandle
           
private  int regionToken
           
private static long serialVersionUID
           
private  byte[] tag
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_RequestClassUpdate()
           
RTI_RequestClassUpdate(int classHandle, Set<Integer> attributes, byte[] tag)
           
RTI_RequestClassUpdate(int classHandle, Set<Integer> attributes, byte[] tag, int regionToken)
           
 
Method Summary
 Set<Integer> getAttributes()
           
 int getClassHandle()
           
 int getRegionToken()
           
 byte[] getTag()
           
 void setAttributes(Set<Integer> attributes)
           
 void setClassHandle(int classHandle)
           
 void setTag(byte[] tag)
           
 boolean usesDDM()
           
 
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

classHandle

private int classHandle

attributeHandles

private Set<Integer> attributeHandles

tag

private byte[] tag

regionToken

private int regionToken
Constructor Detail

RTI_RequestClassUpdate

public RTI_RequestClassUpdate()

RTI_RequestClassUpdate

public RTI_RequestClassUpdate(int classHandle,
                              Set<Integer> attributes,
                              byte[] tag)

RTI_RequestClassUpdate

public RTI_RequestClassUpdate(int classHandle,
                              Set<Integer> attributes,
                              byte[] tag,
                              int regionToken)
Method Detail

getAttributes

public Set<Integer> getAttributes()

setAttributes

public void setAttributes(Set<Integer> attributes)

getClassHandle

public int getClassHandle()

setClassHandle

public void setClassHandle(int classHandle)

getTag

public byte[] getTag()

setTag

public void setTag(byte[] tag)

getRegionToken

public int getRegionToken()

usesDDM

public boolean usesDDM()

copyright The Portico Project 2008.