public class OutputDelegate extends BaseDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
OutputDelegate(ContainerServices services) |
Modifier and Type | Method and Description |
---|---|
void |
asyncFailure(long id,
java.lang.Exception e)
Notify host application of any async failures.
|
long |
asyncSend(java.util.Properties overrideProperties,
java.lang.Object data) |
void |
asyncSendSuccess(long id)
Notify host application of async output send status
|
protected Connector |
createConnectorInternal(ConnectorFactory factory,
java.lang.String name) |
OutputConnector |
getOutputConnector() |
java.util.Properties |
send(java.util.Properties overrideProperties,
java.lang.Object data) |
asyncRequestSuccess, createConnector, getConnector, getServices, initialiseConnector, processInboundData, terminateConnector
public static final java.lang.String COPYRIGHT
public OutputDelegate(ContainerServices services)
protected Connector createConnectorInternal(ConnectorFactory factory, java.lang.String name) throws ConnectorException
createConnectorInternal
in class BaseDelegate
ConnectorException
public OutputConnector getOutputConnector()
public java.util.Properties send(java.util.Properties overrideProperties, java.lang.Object data) throws ConnectorException
ConnectorException
public long asyncSend(java.util.Properties overrideProperties, java.lang.Object data) throws ConnectorException
ConnectorException
public void asyncSendSuccess(long id) throws ConnectorException
ConnectorCallback
asyncSendSuccess
in interface ConnectorCallback
asyncSendSuccess
in class BaseDelegate
id
- the ticket id returned by asyncSend()ConnectorException
public void asyncFailure(long id, java.lang.Exception e) throws ConnectorException
ConnectorCallback
asyncFailure
in interface ConnectorCallback
asyncFailure
in class BaseDelegate
id
- the ticket id returned by an async operatione
- any occurring exceptionConnectorException