public class ExtendedRequestImpl extends InternalAbstractRequest implements InternalExtendedRequest
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
payload
Extended request's payload or requestValue
|
protected InternalResultResponse |
response |
RESP_TYPE, TYPE| Constructor and Description |
|---|
ExtendedRequestImpl(int id)
Creates a Lockable ExtendedRequest implementing object used to perform
extended protocol operation on the server.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedResponse |
createExtendedResponse(String id,
byte[] berValue,
int offset,
int length) |
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
byte[] |
getEncodedValue() |
String |
getID() |
String |
getOid()
Gets the Object Idendifier corresponding to the extended request type.
|
byte[] |
getPayload()
Gets the extended request's requestValue portion of the PDU.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
InternalResultResponse |
getResultResponse()
The result containing response for this request.
|
void |
setOid(String oid)
Sets the Object Idendifier corresponding to the extended request type.
|
void |
setPayload(byte[] payload)
Sets the extended request's requestValue portion of the PDU.
|
String |
toString()
Get a String representation of an Extended Request
|
hashCode, hasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeprotected byte[] payload
protected InternalResultResponse response
public ExtendedRequestImpl(int id)
id - the sequential message identifierpublic String getOid()
getOid in interface InternalExtendedRequestpublic void setOid(String oid)
setOid in interface InternalExtendedRequestoid - the dotted-decimal representation as a String of the OIDpublic byte[] getPayload()
getPayload in interface InternalExtendedRequestpublic void setPayload(byte[] payload)
setPayload in interface InternalExtendedRequestpayload - byte array of data encapsulating ext. req. parameterspublic MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(Object obj)
equals in class InternalAbstractMessageobj - the object to be checked for equalitypublic String toString()
public String getID()
getID in interface ExtendedRequestpublic byte[] getEncodedValue()
getEncodedValue in interface ExtendedRequestpublic ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException
createExtendedResponse in interface ExtendedRequestNamingExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.