VisiBroker for Java

org.omg.IOP
Class Encoding

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

public final class Encoding
extends java.lang.Object
implements IDLEntity

This class defines the encoding format of a Codec. It details the encoding format, such as CDR Encapsulation encoding, and the major and minor versions of that format. The supported encodings 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

See Also:
Serialized Form

Field Summary
 short format
          The Encoding format .
 byte major_version
          The major version of the encoding format.
 byte minor_version
          The minor version of the encoding format.
 
Constructor Summary
Encoding()
           
Encoding(short format, byte major_version, byte minor_version)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

format

public short format
The Encoding format .


major_version

public byte major_version
The major version of the encoding format.


minor_version

public byte minor_version
The minor version of the encoding format.

Constructor Detail

Encoding

public Encoding()

Encoding

public Encoding(short format,
                byte major_version,
                byte minor_version)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online