Package org.omg.IOP

Class CodecHelper


  • public abstract class CodecHelper
    extends java.lang.Object
    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" ).

    • Field Detail

      • _id

        private static java.lang.String _id
      • __typeCode

        private static TypeCode __typeCode
    • Constructor Detail

      • CodecHelper

        public CodecHelper()
    • Method Detail

      • insert

        public static void insert​(Any a,
                                  Codec that)
      • extract

        public static Codec extract​(Any a)
      • id

        public static java.lang.String id()
      • unchecked_narrow

        public static Codec unchecked_narrow​(Object obj)