Codec (Java Platform SE 8 )
Keywords: org.omg.IOP.Codec interface
Date: 2020-03-26

org.omg.IOP

## Interface Codec

- All Superinterfaces:
    CodecOperations, IDLEntity, Object, Serializable

      public interface Codec
      extends CodecOperations, Object, IDLEntity

  The formats of IOR components and service context data used by ORB services are often defined as CDR encapsulations encoding instances of IDL defined data types. The `Codec` provides a mechanism to transfer these components between their IDL data types and their CDR encapsulation representations.

  A `Codec` is obtained from the `CodecFactory`. The `CodecFactory` is obtained through a call to `ORB.resolve_initial_references( "CodecFactory" )`.

- - ### Method Summary

    - ### Methods inherited from interface org.omg.IOP.CodecOperations

      `decode_value, decode, encode_value, encode`

    - ### Methods inherited from interface org.omg.CORBA.Object

      `_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`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.