copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_DeleteObject

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_DeleteObject
All Implemented Interfaces:
Externalizable, Serializable

public class RTI_DeleteObject
extends RTI_RequestMessage
implements Externalizable

This message is a notification to the RTI that the object of the contained handle should be deleted. If the sending federate is regulating, this message can be sent with a time at which the object should be deleted. If the federate is not regulating, but invokes the delete method with a time, the LRC should remove this value, thus sending the request without a time.

See Also:
Serialized Form

Field Summary
private  int objectHandle
           
private static long serialVersionUID
           
private  byte[] tag
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_DeleteObject()
           
RTI_DeleteObject(int objectHandle, byte[] tag)
           
RTI_DeleteObject(int objectHandle, byte[] tag, double time)
           
 
Method Summary
 int getObjectHandle()
           
 byte[] getTag()
           
 void readExternal(ObjectInput input)
           
 void setObjectHandle(int objectHandle)
           
 void setTag(byte[] tag)
           
 void writeExternal(ObjectOutput output)
           
 
Methods inherited from class org.portico.shared.msg.RTI_RequestMessage
bytesToString, getTargetFederate, getTimestamp, isTimestamped, setTargetFederate, setTimestamp, stringToBytes
 
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

objectHandle

private int objectHandle

tag

private byte[] tag
Constructor Detail

RTI_DeleteObject

public RTI_DeleteObject()

RTI_DeleteObject

public RTI_DeleteObject(int objectHandle,
                        byte[] tag)

RTI_DeleteObject

public RTI_DeleteObject(int objectHandle,
                        byte[] tag,
                        double time)
Method Detail

getObjectHandle

public int getObjectHandle()

setObjectHandle

public void setObjectHandle(int objectHandle)

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

copyright The Portico Project 2008.