hla.rti
Interface FederateHandleFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- XRTIFederateHandleFactory
- public interface FederateHandleFactory
- extends java.io.Serializable
This factory is used only (outside of the RTI) to create
FederateHandle objects corresponding to federate
handles received as attribute or parameter values.
- Author:
- DMSO
|
Method Summary |
FederateHandle |
decode(byte[] buffer,
int offset)
Decodes a federate handle within the specified buffer and
returns a corresponding FederateHandle instance. |
decode
public FederateHandle decode(byte[] buffer,
int offset)
throws CouldNotDecode,
FederateNotExecutionMember
- Decodes a federate handle within the specified buffer and
returns a corresponding
FederateHandle instance.
- Parameters:
buffer - the buffer from which to decode the federate handleoffset - the offset within the buffer at which the encoded
federate handle resides
- Returns:
- the new
FederateHandle instance corresponding
to the encoded handle
- Throws:
CouldNotDecode - if the federate handle could not be decoded
FederateNotExecutionMember - if the federate is not a member
of the execution