org.omg.IOP
Class Encoding

java.lang.Object
  extended by org.omg.IOP.Encoding
All Implemented Interfaces:
Serializable, IDLEntity

public final class Encoding
extends Object
implements IDLEntity, Serializable

Defines the encoding format of the Codec, including the major and minor version numbers. The only currently supported encodings are ENCODING_CDR_ENCAPS versions 1.1 - 1.2. Vendors can implement additional encodings.

See Also:
Serialized Form

Field Summary
 short format
          The format of encoding.
 byte major_version
          The major version number of this encoding format.
 byte minor_version
          The minor version number of this encoding format.
 
Constructor Summary
Encoding()
          Create the unitialised instance.
Encoding(short _format, byte _major_version, byte _minor_version)
          Create the instance, initialising field to the passed values.
 
Method Summary
 
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 format of encoding. For instance, ENCODING_CDR_ENCAPS.value.


major_version

public byte major_version
The major version number of this encoding format.


minor_version

public byte minor_version
The minor version number of this encoding format.

Constructor Detail

Encoding

public Encoding()
Create the unitialised instance.


Encoding

public Encoding(short _format,
                byte _major_version,
                byte _minor_version)
Create the instance, initialising field to the passed values.

Parameters:
_format - the format of encoding, like ENCODING_CDR_ENCAPS.value.
_major_version - the major format version.
_minor_version - the minor format version.