public abstract class AbstractIntermediateResponse extends java.lang.Object implements IntermediateResponse
| Modifier and Type | Field and Description |
|---|---|
private int |
messageId
message ID.
|
private ResponseControl[] |
responseControls
response controls.
|
private java.lang.String |
responseOid
response oid.
|
| Constructor and Description |
|---|
AbstractIntermediateResponse(java.lang.String oid,
ResponseControl[] c,
int i)
Creates a new abstract intermediate response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ResponseControl |
getControl(java.lang.String oid)
Returns the first response control with the supplied OID for this response message.
|
ResponseControl[] |
getControls()
Returns the controls for this message.
|
int |
getMessageId()
Returns the message ID for this response message.
|
java.lang.String |
getOID()
Returns the OID for this response.
|
abstract int |
hashCode()
Returns the hash code for this object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdecodeprivate final java.lang.String responseOid
private final ResponseControl[] responseControls
private final int messageId
public AbstractIntermediateResponse(java.lang.String oid,
ResponseControl[] c,
int i)
oid - OID of this messagec - response controlsi - message idpublic java.lang.String getOID()
IntermediateResponsegetOID in interface IntermediateResponsepublic ResponseControl[] getControls()
MessagegetControls in interface Message<ResponseControl>public ResponseControl getControl(java.lang.String oid)
ResponseMessagegetControl in interface ResponseMessageoid - of the response control to returnpublic int getMessageId()
ResponseMessagegetMessageId in interface ResponseMessagepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic abstract int hashCode()
hashCode in class java.lang.Object