Package org.omg.IOP
Class CodecHelper
java.lang.Object
org.omg.IOP.CodecHelper
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Codec
static String
id()
static void
static Codec
static Codec
read
(InputStream istream) static TypeCode
type()
static Codec
unchecked_narrow
(Object obj) static void
write
(OutputStream ostream, Codec value)
-
Field Details
-
_id
-
__typeCode
-
-
Constructor Details
-
CodecHelper
public CodecHelper()
-
-
Method Details
-
insert
-
extract
-
type
-
id
-
read
-
write
-
narrow
-
unchecked_narrow
-