org.omg.IOP
Class Encoding

java.lang.Object
  |
  +--org.omg.IOP.Encoding
All Implemented Interfaces:
IDLEntity, Serializable
public final class Encoding
extends Object
implements IDLEntity

Defines the encoding format of a Codec. This class details the encoding format, such as CDR Encapsulation encoding, and the major and minor versions of that format.

The encodings currently supported are:

  • ENCODING_CDR_ENCAPS, version 1.0;
  • ENCODING_CDR_ENCAPS, version 1.1;
  • ENCODING_CDR_ENCAPS, version 1.2;
  • ENCODING_CDR_ENCAPS for all future versions of GIOP as they arise.
Vendors are free to support additional encodings.

See Also:
ENCODING_CDR_ENCAPS

 

Field Summary

 short format
    The encoding format.
 byte major_version
    The major version of this Encoding format.
 byte minor_version
    The minor version of this Encoding format.
 

 

Constructor Summary

Encoding()
    
Encoding(short _format, byte _major_version, byte _minor_version)
    
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Field Detail

 

format

public short format
The encoding format.

 

major_version

public byte major_version
The major version of this Encoding format.

 

minor_version

public byte minor_version
The minor version of this Encoding format.

 

Constructor Detail

 

Encoding

public Encoding()

 

Encoding

public Encoding(short _format,
                byte _major_version,
                byte _minor_version)