Class GenericIdentifiable

java.lang.Object
com.sun.corba.ee.impl.ior.GenericIdentifiable
All Implemented Interfaces:
Identifiable, Writeable
Direct Known Subclasses:
GenericTaggedComponent, GenericTaggedProfile

@ManagedData @Description("A generic implementation of an IIOP encapsulation with an integer id") public abstract class GenericIdentifiable extends Object implements Identifiable
  • Field Details

    • id

      private int id
    • data

      private byte[] data
  • Constructor Details

    • GenericIdentifiable

      public GenericIdentifiable(int id, InputStream is)
    • GenericIdentifiable

      public GenericIdentifiable(int id, byte[] data)
  • Method Details

    • getId

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

      public void write(OutputStream os)
      Description copied from interface: Writeable
      Write this object directly to the output stream.
      Specified by:
      write in interface Writeable
      Parameters:
      os - stream to write to
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getData

      @ManagedAttribute @Description("The tagged component or profile CDR encoded data") public byte[] getData()