public abstract class AbstractIntermediateResponse extends Object implements IntermediateResponse
Constructor and Description |
---|
AbstractIntermediateResponse(String oid,
ResponseControl[] c,
int i)
Creates a new abstract intermediate response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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.
|
abstract int |
hashCode()
Returns the hash code for this object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
decode
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 © 2021. All rights reserved.