org.portico.shared.msg
Class RTI_UpdateAttributes
java.lang.Object
com.lbf.commons.messaging.RequestMessage
org.portico.shared.msg.RTI_RequestMessage
org.portico.shared.msg.RTI_UpdateAttributes
- All Implemented Interfaces:
- Externalizable, Serializable
public class RTI_UpdateAttributes
- extends RTI_RequestMessage
- implements Externalizable
This message represents a request to update the values of a group of attributes contained in a
specific object instance.
- 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
objectId
private int objectId
tag
private byte[] tag
attributes
private HashMap<Integer,byte[]> attributes
RTI_UpdateAttributes
public RTI_UpdateAttributes()
RTI_UpdateAttributes
public RTI_UpdateAttributes(int objectId,
byte[] tag,
HashMap<Integer,byte[]> attributes)
RTI_UpdateAttributes
public RTI_UpdateAttributes(int objectId,
byte[] tag,
HashMap<Integer,byte[]> attributes,
double time)
getAttributes
public HashMap<Integer,byte[]> getAttributes()
setAttributes
public void setAttributes(HashMap<Integer,byte[]> attributes)
getObjectId
public int getObjectId()
setObjectId
public void setObjectId(int objectId)
getTag
public byte[] getTag()
setTag
public void setTag(byte[] tag)
readExternal
public void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class RTI_RequestMessage
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput output)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class RTI_RequestMessage
- Throws:
IOException