Class RequestIdImpl

java.lang.Object
com.sun.corba.ee.impl.protocol.RequestIdImpl
All Implemented Interfaces:
RequestId

public class RequestIdImpl extends Object implements RequestId
Represents a protocol request id. Currently used to ensure proper sequencing of fragmented messages.
  • Field Details

    • wrapper

      private static final ORBUtilSystemException wrapper
    • value

      private final int value
    • defined

      private final boolean defined
    • UNDEFINED

      private static final String UNDEFINED
      See Also:
    • UNKNOWN_CORBA_REQUEST_ID

      public static final RequestId UNKNOWN_CORBA_REQUEST_ID
  • Constructor Details

    • RequestIdImpl

      public RequestIdImpl(int requestId)
      Creates a new instance of CorbaRequestIdImpl
      Parameters:
      requestId - value of the request ID
    • RequestIdImpl

      private RequestIdImpl()
      Creates a new instance of CorbaRequestIdImpl
  • Method Details

    • getValue

      public int getValue()
      Return the value of this CorbaRequestId
      Specified by:
      getValue in interface RequestId
      Returns:
      ID
    • isDefined

      public boolean isDefined()
      Is there a numeric identifier for this CorbaRequestId ?
      Specified by:
      isDefined in interface RequestId
      Returns:
      if a numeric value is defined
    • equals

      public boolean equals(Object requestId)
      Does this CorbaRequestId equal another CorbaRequestId ?
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Return this CorbaRequestId's hashCode
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      String representing this CorbaRequestId
      Overrides:
      toString in class Object