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, wait
decode
private 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()
IntermediateResponse
getOID
in interface IntermediateResponse
public ResponseControl[] getControls()
Message
getControls
in interface Message<ResponseControl>
public ResponseControl getControl(String oid)
ResponseMessage
getControl
in interface ResponseMessage
oid
- of the response control to returnpublic int getMessageId()
ResponseMessage
getMessageId
in interface ResponseMessage
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.