Class ObjectAdapterIdNumber

java.lang.Object
com.sun.corba.ee.impl.ior.ObjectAdapterIdArray
com.sun.corba.ee.impl.ior.ObjectAdapterIdNumber
All Implemented Interfaces:
ObjectAdapterId, Writeable, Iterable<String>

public class ObjectAdapterIdNumber extends ObjectAdapterIdArray
ObjectAdapterIdNumber is used to represent pre-JDK 1.4 POA adapter IDs. The POA ID was simply represented as a single integer, which was mapped to the actual POA instance. Here, we just represent these internally as arrays of the form { "OldRootPOA", "<number>" }, and provide an extra method to get the number back.
  • Constructor Details

    • ObjectAdapterIdNumber

      public ObjectAdapterIdNumber(int poaid)
  • Method Details

    • getOldPOAId

      public int getOldPOAId()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • 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