public abstract class AbstractIntermediateResponse extends Object implements IntermediateResponse
| Modifier and Type | Field and Description |
|---|---|
private int |
messageId
message ID.
|
private ResponseControl[] |
responseControls
response controls.
|
private String |
responseOid
response oid.
|
| Constructor and Description |
|---|
AbstractIntermediateResponse(String oid,
ResponseControl[] c,
int i)
Creates a new abstract intermediate response.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseControl |
getControl(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.
|
String |
getOID()
Returns the OID for this response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodeprivate final String responseOid
private final ResponseControl[] responseControls
private final int messageId
public AbstractIntermediateResponse(String oid, ResponseControl[] c, int i)
oid - OID of this messagec - response controlsi - message idpublic String getOID()
IntermediateResponsegetOID in interface IntermediateResponsepublic ResponseControl[] getControls()
MessagegetControls in interface Message<ResponseControl>public ResponseControl getControl(String oid)
ResponseMessagegetControl in interface ResponseMessageoid - of the response control to returnpublic int getMessageId()
ResponseMessagegetMessageId in interface ResponseMessageCopyright © 2003-2019 Virginia Tech. All Rights Reserved.