hla.rti
Interface DimensionHandleFactory

All Superinterfaces:
java.io.Serializable

public interface DimensionHandleFactory
extends java.io.Serializable

This factory is used only (outside of the RTI) to create DimensionHandles received as attribute or parameter values.

Author:
DMSO

Method Summary
 DimensionHandle decode(byte[] buffer, int offset)
          Decodes a dimension handle within the specified buffer.
 

Method Detail

decode

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

Parameters:
buffer - the buffer containing the encoded handle
offset - the location of the handle within the buffer
Returns:
the DimensionHandle instance corresponding to the decoded handle
Throws:
CouldNotDecode - if the dimension handle could not be decoded
FederateNotExecutionMember - if the federate is not a member of the execution