hla.rti
Interface ParameterHandleFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
XRTIParameterHandleFactory

public interface ParameterHandleFactory
extends java.io.Serializable

A factory for ParameterHandles. This factory is used only (outside of the run-time infrastructure) to create ParameterHandles received as attribute or parameter values.

Author:
DMSO

Method Summary
 ParameterHandle decode(byte[] buffer, int offset)
          Decodes a parameter handle stored within the specified buffer.
 

Method Detail

decode

public ParameterHandle decode(byte[] buffer,
                              int offset)
                       throws CouldNotDecode,
                              FederateNotExecutionMember
Decodes a parameter handle stored within the specified buffer.

Parameters:
buffer - the buffer that contains the encoded parameter handle
offset - the offset within the buffer at which the parameter handle is stored
Returns:
a ParameterHandle representing the decoded handle
Throws:
CouldNotDecode - if the parameter handle could not be decoded
FederateNotExecutionMember - if the federate is not a member of the execution