hla.rti
Interface AttributeHandleFactory

All Superinterfaces:
java.io.Serializable

public interface AttributeHandleFactory
extends java.io.Serializable

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

Author:
DMSO

Method Summary
 AttributeHandle decode(byte[] buffer, int offset)
          Decodes an attribute handle, returning a new instance of AttributeHandle.
 

Method Detail

decode

public AttributeHandle decode(byte[] buffer,
                              int offset)
                       throws CouldNotDecode,
                              FederateNotExecutionMember
Decodes an attribute handle, returning a new instance of AttributeHandle.

Parameters:
buffer - the encoded attribute handle
offset - the offset of the handle data in the buffer
Returns:
an instance of AttributeHandle corresponding to the encoded handle
Throws:
CouldNotDecode - if the attribute handle could not be decoded
FederateNotExecutionMember - if the federate is not a member of the execution