public class NativeOutputDelegate extends OutputDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
protected long |
nativeDelegate |
Constructor and Description |
---|
NativeOutputDelegate(long nativeDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
_asyncFailure(long nativeDelegate,
long id,
java.lang.Exception e) |
void |
_asyncSendSuccess(long nativeDelegate,
long id) |
void |
asyncFailure(long id,
java.lang.Exception e)
Notify host application of any async failures.
|
void |
asyncSendSuccess(long id)
Notify host application of async output send status
|
byte[] |
nativeSend(java.util.Properties overrideProperties,
java.lang.Object data) |
asyncSend, createConnectorInternal, getOutputConnector, send
asyncRequestSuccess, createConnector, getConnector, getServices, initialiseConnector, processInboundData, terminateConnector
public static final java.lang.String COPYRIGHT
protected final long nativeDelegate
public byte[] nativeSend(java.util.Properties overrideProperties, java.lang.Object data) throws ConnectorException
ConnectorException
public void asyncSendSuccess(long id)
ConnectorCallback
asyncSendSuccess
in interface ConnectorCallback
asyncSendSuccess
in class OutputDelegate
id
- the ticket id returned by asyncSend()public void asyncFailure(long id, java.lang.Exception e)
ConnectorCallback
asyncFailure
in interface ConnectorCallback
asyncFailure
in class OutputDelegate
id
- the ticket id returned by an async operatione
- any occurring exceptionpublic void _asyncSendSuccess(long nativeDelegate, long id)
public void _asyncFailure(long nativeDelegate, long id, java.lang.Exception e)