Package org.see.skf.core
Interface Coder<T>
- Type Parameters:
T- The type that will be encoded and decoded by this coder.
- All Known Implementing Classes:
ExecutionModeCoder,HLAASCIIcharCoder,HLAASCIIstringCoder,HLAbooleanCoder,HLAbyteCoder,HLAfloat32BECoder,HLAfloat32LECoder,HLAfloat64BECoder,HLAfloat64LECoder,HLAinteger16BECoder,HLAinteger16LECoder,HLAinteger32BECoder,HLAinteger32LECoder,HLAinteger64BECoder,HLAunicodeCharCoder,HLAunicodeStringCoder,MTRModeCoder
public interface Coder<T>
The base interface for all coders in the SEE HLA Starter Kit. A coder serves the purpose of encoding a native Java
data type a suitable equivalent in the HLA federation object model (FOM) and vice versa. For instance, the String
type can be mapped to an HLAunicodeString or HLAASCIIchar. The encoded representations are byte arrays and thus need
to be decoded prior to any read/write operation.
- Since:
- 1.5
-
Method Summary
-
Method Details
-
decode
- Throws:
hla.rti1516_2025.encoding.DecoderException
-
encode
-
getAllowedType
-