public interface Codec extends CodecOperations, IDLEntity, Object
Codec provides means to encode IDL data types into the byte arrays.
Some parts of the CORBA message may contain such abstracted (encapsulated)
byte arrays, holding arbitrary information. The encoding and decoding
operations are defined separately in CodecOperations
.
The Codec for ENCODING_CDR_ENCAPS
v 1.0 - 1.2 is required by OMG.
Vendors can implement additional Codec's, driven by alternative algorithms.
The ENCODING_CDR_ENCAPS
Codec, returned by the CodecFactory
,
is a local object. It is not possible to get its stringified reference,
to send it over CDR streams or invoke the methods remotely.
Codec is obtained from CodecFactory
. CodecFactory is returned by
ORB.resolve_initial_references("CodecFactory")
.
decode_value, decode, encode_value, encode
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override