Class JavaSerializationComponent

  • All Implemented Interfaces:
    Identifiable, TaggedComponent, Writeable, WriteContents

    public class JavaSerializationComponent
    extends TaggedComponentBase
    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.
    • Constructor Detail

      • JavaSerializationComponent

        public JavaSerializationComponent​(byte version)
    • Method Detail

      • javaSerializationVersion

        public byte javaSerializationVersion()
      • writeContents

        public void writeContents​(OutputStream os)
      • getId

        public int getId()
        Description copied from interface: Identifiable
        Return the (type) identity of this entity.
        Returns:
        int
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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