public class NativeRequestDelegate extends RequestDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
protected long |
nativeDelegate |
Constructor and Description |
---|
NativeRequestDelegate(long nativeDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
_asyncFailure(long nativeDelegate,
long id,
java.lang.Exception e) |
void |
_asyncRequestSuccess(long nativeDelegate,
long id,
byte[] response) |
void |
asyncFailure(long id,
java.lang.Exception e)
Notify host application of any async failures.
|
void |
asyncRequestSuccess(long id,
java.lang.Object response)
Notify host application of async service response
|
java.lang.Object |
request(java.util.Properties overrideProperties,
java.lang.Object data) |
asyncRequest, createConnectorInternal, createInteraction, getRequestConnector
asyncSendSuccess, createConnector, getConnector, getServices, initialiseConnector, processInboundData, terminateConnector
public static final java.lang.String COPYRIGHT
protected final long nativeDelegate
public java.lang.Object request(java.util.Properties overrideProperties, java.lang.Object data) throws ConnectorException
request
in class RequestDelegate
ConnectorException
public void asyncFailure(long id, java.lang.Exception e)
ConnectorCallback
asyncFailure
in interface ConnectorCallback
asyncFailure
in class RequestDelegate
id
- the ticket id returned by an async operatione
- any occurring exceptionpublic void asyncRequestSuccess(long id, java.lang.Object response)
ConnectorCallback
asyncRequestSuccess
in interface ConnectorCallback
asyncRequestSuccess
in class RequestDelegate
id
- the ticket id returned by asyncRequest()public void _asyncRequestSuccess(long nativeDelegate, long id, byte[] response)
public void _asyncFailure(long nativeDelegate, long id, java.lang.Exception e)