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.
  • Field Details

  • Constructor Details

    • JavaSerializationComponent

      public JavaSerializationComponent(byte version)
  • Method Details

    • singleton

      public static JavaSerializationComponent singleton()
    • 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(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object