org.jacorb.orb.portableInterceptor
Class Codec_CDR_1_0_Impl

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.orb.portableInterceptor.Codec_CDR_1_0_Impl
All Implemented Interfaces:
Codec, CodecOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class Codec_CDR_1_0_Impl
extends LocalObject
implements Codec

This class represents a codec for encoding ENCODING_CDR_ENCAPS 1.0. See PI SPec p.10-77ff

Version:
$Id: Codec_CDR_1_0_Impl.java,v 1.11 2004/05/06 12:40:00 nicolas Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

Constructor Summary
Codec_CDR_1_0_Impl(ORB orb)
           
 
Method Summary
 Any decode_value(byte[] data, TypeCode tc)
           
 Any decode(byte[] data)
           
 byte[] encode_value(Any data)
           
 byte[] encode(Any data)
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

Codec_CDR_1_0_Impl

public Codec_CDR_1_0_Impl(ORB orb)
Method Detail

decode

public Any decode(byte[] data)
           throws FormatMismatch
Specified by:
decode in interface CodecOperations
Throws:
FormatMismatch

decode_value

public Any decode_value(byte[] data,
                        TypeCode tc)
                 throws FormatMismatch,
                        TypeMismatch
Specified by:
decode_value in interface CodecOperations
Throws:
FormatMismatch
TypeMismatch

encode

public byte[] encode(Any data)
              throws InvalidTypeForEncoding
Specified by:
encode in interface CodecOperations
Throws:
InvalidTypeForEncoding

encode_value

public byte[] encode_value(Any data)
                    throws InvalidTypeForEncoding
Specified by:
encode_value in interface CodecOperations
Throws:
InvalidTypeForEncoding