hla.rti
Interface ObjectInstanceHandleFactory
- All Superinterfaces:
- java.io.Serializable
- public interface ObjectInstanceHandleFactory
- extends java.io.Serializable
A factory for ObjectInstanceHandles. This factory is used only
(outside of the run-time infrastructure) to create
ObjectInstanceHandles received as attribute or parameter values.
- Author:
- DMSO
|
Method Summary |
ObjectInstanceHandle |
decode(byte[] buffer,
int offset)
Decodes an object instance handle stored within the specified buffer,
returning a new ObjectInstanceHandle instance representing
the result. |
decode
public ObjectInstanceHandle decode(byte[] buffer,
int offset)
throws CouldNotDecode,
FederateNotExecutionMember
- Decodes an object instance handle stored within the specified buffer,
returning a new
ObjectInstanceHandle instance representing
the result.
- Parameters:
buffer - the buffer that contains the encoded valueoffset - the offset within the buffer at which the encoded value
resides
- Returns:
- an
ObjectInstanceHandle corresponding to the decoded
value
- Throws:
CouldNotDecode - if the handle could not be decoded
FederateNotExecutionMember - if the federate is not a member of
the execution