org.portico.shared.msg
Class RTI_SubscribeObjectClass
java.lang.Object
com.lbf.commons.messaging.RequestMessage
org.portico.shared.msg.RTI_RequestMessage
org.portico.shared.msg.RTI_SubscribeObjectClass
- All Implemented Interfaces:
- Serializable
public class RTI_SubscribeObjectClass
- extends RTI_RequestMessage
This message class contains the handle of the class and the attribute handles that the target
federate wishes to subscribe to. If the active
variable is false
than
the request was to subscribe to the attributes passively.
- See Also:
- Serialized Form
Methods inherited from class com.lbf.commons.messaging.RequestMessage |
getIdentifier, toString |
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
regionToken
private int regionToken
active
private boolean active
RTI_SubscribeObjectClass
public RTI_SubscribeObjectClass()
RTI_SubscribeObjectClass
public RTI_SubscribeObjectClass(int classHandle,
HashSet<Integer> attributes,
boolean active)
RTI_SubscribeObjectClass
public RTI_SubscribeObjectClass(int classHandle,
HashSet<Integer> attributes,
boolean active,
int regionToken)
getAttributeHandles
public HashSet<Integer> getAttributeHandles()
setAttributeHandles
public void setAttributeHandles(HashSet<Integer> attributeHandles)
getClassHandle
public int getClassHandle()
setClassHandle
public void setClassHandle(int classHandle)
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
getRegionToken
public int getRegionToken()
setRegionToken
public void setRegionToken(int regionToken)
usesDDM
public boolean usesDDM()