CONFIG - The ConnectorConfig handled by the connector.CONNECTION - The ConnectorConnection handled by the connector.PAYLOAD - The type of the payload to be handled.ATTRIBUTES - The type of the attributes to be handled.public class NonBlockingConnectorService<CONFIG extends ConnectorConfig,CONNECTION extends ConnectorConnection,PAYLOAD,ATTRIBUTES> extends BlockingConnectorService<CONFIG,CONNECTION>
BlockingConnectorService that adds the CompletionCallback to itself, allowing only methods
in this class that return the same payload type and attributes type.| Constructor and Description |
|---|
NonBlockingConnectorService(CONFIG config,
CONNECTION connection,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<PAYLOAD,ATTRIBUTES> completionCallback)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.process.CompletionCallback<PAYLOAD,ATTRIBUTES> |
getCompletionCallback()
Gets the completion callback.
|
getConfig, getConnectionpublic NonBlockingConnectorService(CONFIG config, CONNECTION connection, org.mule.runtime.extension.api.runtime.process.CompletionCallback<PAYLOAD,ATTRIBUTES> completionCallback)
config - The ConnectorConfig handled by the connector.connection - The ConnectorConnection handled by the connector.completionCallback - The CompletionCallback to make effective the return value.public org.mule.runtime.extension.api.runtime.process.CompletionCallback<PAYLOAD,ATTRIBUTES> getCompletionCallback()
Copyright © 2018. All rights reserved.