public class StoredProcedureRequest extends ExtendedRequestImpl
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID |
payload, response
RESP_TYPE, TYPE
Constructor and Description |
---|
StoredProcedureRequest(int messageId) |
StoredProcedureRequest(int messageId,
String procedure,
String language) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(Object type,
Object value) |
ExtendedResponse |
createExtendedResponse(String id,
byte[] berValue,
int offset,
int length) |
byte[] |
getEncodedValue() |
Class<?> |
getJavaParameterType(int index) |
Object |
getJavaParameterValue(int index) |
String |
getLanguage() |
Object |
getParameterType(int index) |
Object |
getParameterValue(int index) |
byte[] |
getPayload()
Gets the extended request's requestValue portion of the PDU.
|
String |
getProcedureSpecification() |
InternalResultResponse |
getResultResponse()
The result containing response for this request.
|
void |
setLanguage(String language) |
void |
setPayload(byte[] payload)
Sets the extended request's requestValue portion of the PDU.
|
void |
setProcedure(String procedure) |
int |
size() |
equals, getID, getOid, getResponseType, setOid, toString
hashCode, hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
public static final String EXTENSION_OID
public void setPayload(byte[] payload)
ExtendedRequestImpl
setPayload
in interface InternalExtendedRequest
setPayload
in class ExtendedRequestImpl
payload
- byte array of data encapsulating ext. req. parameterspublic ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException
createExtendedResponse
in interface ExtendedRequest
createExtendedResponse
in class ExtendedRequestImpl
NamingException
public byte[] getEncodedValue()
getEncodedValue
in interface ExtendedRequest
getEncodedValue
in class ExtendedRequestImpl
public byte[] getPayload()
ExtendedRequestImpl
getPayload
in interface InternalExtendedRequest
getPayload
in class ExtendedRequestImpl
public InternalResultResponse getResultResponse()
ExtendedRequestImpl
getResultResponse
in interface InternalResultResponseRequest
getResultResponse
in class ExtendedRequestImpl
public String getLanguage()
public void setLanguage(String language)
public void setProcedure(String procedure)
public String getProcedureSpecification()
public int size()
public Object getParameterType(int index)
public Class<?> getJavaParameterType(int index)
public Object getParameterValue(int index)
public Object getJavaParameterValue(int index)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.