org.omg.IOP
Interface CodecOperations

All Known Subinterfaces:
Codec
All Known Implementing Classes:
_CodecLocalBase, Codec_CDR_1_0_Impl, CodecImpl

public interface CodecOperations

Generated from IDL interface "Codec"

Author:
JacORB IDL compiler V 2.1 (JBoss patch 1), 01-Mar-2004

Method Summary
 Any decode_value(byte[] data, TypeCode tc)
           
 Any decode(byte[] data)
           
 byte[] encode_value(Any data)
           
 byte[] encode(Any data)
           
 

Method Detail

encode

public byte[] encode(Any data)
              throws InvalidTypeForEncoding
Throws:
InvalidTypeForEncoding

decode

public Any decode(byte[] data)
           throws FormatMismatch
Throws:
FormatMismatch

encode_value

public byte[] encode_value(Any data)
                    throws InvalidTypeForEncoding
Throws:
InvalidTypeForEncoding

decode_value

public Any decode_value(byte[] data,
                        TypeCode tc)
                 throws TypeMismatch,
                        FormatMismatch
Throws:
TypeMismatch
FormatMismatch