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.
- Author:
- Charlie Hunt
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
UNKNOWN_CORBA_REQUEST_ID
-
-
Constructor Details
-
RequestIdImpl
public RequestIdImpl(int requestId) Creates a new instance of CorbaRequestIdImpl- Parameters:
requestId- value of the request ID
-
-
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
-