Package org.omg.IOP
Class CodecHelper
- java.lang.Object
-
- org.omg.IOP.CodecHelper
-
public abstract class CodecHelper extends java.lang.ObjectThe 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. TheCodecprovides a mechanism to transfer these components between their IDL data types and their CDR encapsulation representations.A
Codecis obtained from theCodecFactory. TheCodecFactoryis obtained through a call toORB.resolve_initial_references( "CodecFactory" ).
-
-
Field Summary
Fields Modifier and Type Field Description private static TypeCode__typeCodeprivate static java.lang.String_id
-
Constructor Summary
Constructors Constructor Description CodecHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Codecextract(Any a)static java.lang.Stringid()static voidinsert(Any a, Codec that)static Codecnarrow(Object obj)static Codecread(InputStream istream)static TypeCodetype()static Codecunchecked_narrow(Object obj)static voidwrite(OutputStream ostream, Codec value)
-
-
-
Field Detail
-
_id
private static java.lang.String _id
-
__typeCode
private static TypeCode __typeCode
-
-
Method Detail
-
type
public static TypeCode type()
-
id
public static java.lang.String id()
-
read
public static Codec read(InputStream istream)
-
write
public static void write(OutputStream ostream, Codec value)
-
-