Package com.sun.corba.ee.impl.ior.iiop
Class JavaSerializationComponent
java.lang.Object
com.sun.corba.ee.spi.ior.IdentifiableBase
com.sun.corba.ee.spi.ior.TaggedComponentBase
com.sun.corba.ee.impl.ior.iiop.JavaSerializationComponent
- All Implemented Interfaces:
Identifiable
,TaggedComponent
,Writeable
,WriteContents
Tagged component that contains a value that indicates the Java
serialization version supported by the ORB.
ORB Java serialization uses IIOP as the transport protocol, but uses
Java serialization mechanism and its accompanying encodings, instead
of IIOP CDR serialization mechanism. Java serialization is generally
observed to be faster than CDR.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getId()
Return the (type) identity of this entity.int
hashCode()
byte
static JavaSerializationComponent
void
Methods inherited from class com.sun.corba.ee.spi.ior.TaggedComponentBase
getIOPComponent
Methods inherited from class com.sun.corba.ee.spi.ior.IdentifiableBase
write
-
Field Details
-
version
private byte version -
singleton
-
-
Constructor Details
-
JavaSerializationComponent
public JavaSerializationComponent(byte version)
-
-
Method Details
-
singleton
-
javaSerializationVersion
public byte javaSerializationVersion() -
writeContents
-
getId
public int getId()Description copied from interface:Identifiable
Return the (type) identity of this entity.- Returns:
- int
-
equals
-
hashCode
public int hashCode()
-