org.omg.IOP

Class Encoding

public final class Encoding extends Object implements IDLEntity, Serializable

Defines the encoding format of the {@link 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.
Field Summary
shortformat
The format of encoding.
bytemajor_version
The major version number of this encoding format.
byteminor_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.

Field Detail

format

public short format
The format of encoding. For instance, {@link 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 {@link ENCODING_CDR_ENCAPS#value}. _major_version the major format version. _minor_version the minor format version.