copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_PublishObjectClass

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

public class RTI_PublishObjectClass
extends RTI_RequestMessage

This message class contains the handle of the class and the attribute handles that the target federate wishes to publish.

See Also:
Serialized Form

Field Summary
private  HashSet<Integer> attributeHandles
          A HashSet is used (rather than Set) because it is guaranteed to be serializable
private  int classHandle
           
private static long serialVersionUID
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_PublishObjectClass()
           
RTI_PublishObjectClass(int classHandle, HashSet<Integer> attributeHandles)
           
 
Method Summary
 HashSet<Integer> getAttributeHandles()
           
 int getClassHandle()
           
 void setAttributeHandles(HashSet<Integer> attributeHandles)
           
 void setClassHandle(int classHandle)
           
 
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 HashSet<Integer> attributeHandles
A HashSet is used (rather than Set) because it is guaranteed to be serializable

Constructor Detail

RTI_PublishObjectClass

public RTI_PublishObjectClass()

RTI_PublishObjectClass

public RTI_PublishObjectClass(int classHandle,
                              HashSet<Integer> attributeHandles)
Method Detail

getAttributeHandles

public HashSet<Integer> getAttributeHandles()

setAttributeHandles

public void setAttributeHandles(HashSet<Integer> attributeHandles)

getClassHandle

public int getClassHandle()

setClassHandle

public void setClassHandle(int classHandle)

copyright The Portico Project 2008.