org.portico.shared.msg
Class FED_DiscoverObject
java.lang.Object
com.lbf.commons.messaging.RequestMessage
org.portico.shared.msg.FED_CallbackMessage
org.portico.shared.msg.FED_DiscoverObject
- All Implemented Interfaces:
- Externalizable, Serializable
public class FED_DiscoverObject
- extends FED_CallbackMessage
- implements Externalizable
Callback to inform the target federate that a new object instance it should be interested in
has been discovered. In addition to providing the OCInstance, the handle of the object
class that the federate is discovering it as is also provided.
- 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
instance
private OCInstance instance
discoveredClass
private int discoveredClass
FED_DiscoverObject
public FED_DiscoverObject()
FED_DiscoverObject
public FED_DiscoverObject(OCInstance instance,
int discoveredClass)
getInstance
public OCInstance getInstance()
setOInstance
public void setOInstance(OCInstance instance)
getDiscoveredClass
public int getDiscoveredClass()
setDiscoveredClass
public void setDiscoveredClass(int discoveredClass)
readExternal
public void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class FED_CallbackMessage
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput output)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class FED_CallbackMessage
- Throws:
IOException