Package com.sun.corba.ee.impl.protocol
Class RequestIdImpl
java.lang.Object
com.sun.corba.ee.impl.protocol.RequestIdImpl
- All Implemented Interfaces:
RequestId
Represents a protocol request id. Currently used to ensure proper
sequencing of fragmented messages.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private static final String
static final RequestId
private final int
private static final ORBUtilSystemException
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Creates a new instance of CorbaRequestIdImplRequestIdImpl
(int requestId) Creates a new instance of CorbaRequestIdImpl -
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this CorbaRequestId equal another CorbaRequestId ?int
getValue()
Return the value of this CorbaRequestIdint
hashCode()
Return this CorbaRequestId's hashCodeboolean
Is there a numeric identifier for this CorbaRequestId ?toString()
String representing this CorbaRequestId
-
Field Details
-
wrapper
-
value
private final int value -
defined
private final boolean defined -
UNDEFINED
- See Also:
-
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 -
isDefined
public boolean isDefined()Is there a numeric identifier for this CorbaRequestId ? -
equals
Does this CorbaRequestId equal another CorbaRequestId ? -
hashCode
public int hashCode()Return this CorbaRequestId's hashCode -
toString
String representing this CorbaRequestId
-