hla.rti
Interface ObjectClassHandleFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- XRTIObjectClassHandleFactory
- public interface ObjectClassHandleFactory
- extends java.io.Serializable
A factory for ObjectClassHandles. This factory is used only
(outside of the run-time infrastructure) to create ObjectClassHandles
received as attribute or parameter values.
- Author:
- DMSO
|
Method Summary |
ObjectClassHandle |
decode(byte[] buffer,
int offset)
Decodes an object class handle stored within the specified buffer. |
decode
public ObjectClassHandle decode(byte[] buffer,
int offset)
throws CouldNotDecode,
FederateNotExecutionMember
- Decodes an object class handle stored within the specified buffer.
- Parameters:
buffer - the buffer that contains the encoded handleoffset - the offset within the buffer at which the encoded
handle is located
- Returns:
- an
ObjectClassHandle representing the decoded
handle
- Throws:
CouldNotDecode - if the handle could not be decoded
FederateNotExecutionMember - if the federate is not a member
of the execution