Codec (Java 2 Platform SE 5.0) (original) (raw)


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](../../../org/omg/IOP/CodecOperations.html#decode%5Fvalue%28byte[], org.omg.CORBA.TypeCode%29), decode, encode_value, encode
Methods inherited from interface org.omg.CORBA.Object
[_create_request](../../../org/omg/CORBA/Object.html#%5Fcreate%5Frequest%28org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue%29), [_create_request](../../../org/omg/CORBA/Object.html#%5Fcreate%5Frequest%28org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList%29), _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, [_set_policy_override](../../../org/omg/CORBA/Object.html#%5Fset%5Fpolicy%5Foverride%28org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType%29)


Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.