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 booleanprivate static final Stringstatic final RequestIdprivate final intprivate static final ORBUtilSystemException -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreates a new instance of CorbaRequestIdImplRequestIdImpl(int requestId) Creates a new instance of CorbaRequestIdImpl -
Method Summary
Modifier and TypeMethodDescriptionbooleanDoes this CorbaRequestId equal another CorbaRequestId ?intgetValue()Return the value of this CorbaRequestIdinthashCode()Return this CorbaRequestId's hashCodebooleanIs 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
-