public interface ExternalTransport
Modifier and Type | Method | Description |
---|---|---|
void |
connect(Endpoint endpoint) |
Connects to a specified destination asynchronously.
|
void |
disconnect() |
Disconnects from destination.
|
void |
sendMessage(Message message) |
Sends message to the destination.
|
void |
setTransportListener(ExternalTransportListener listener) |
Set external transport listener.
|
void connect(Endpoint endpoint)
ExternalTransportListener.onConnected()
otherwise it must notify ExternalTransportListener.onDisconnected(Throwable)
endpoint
- Endpoint which describes destination address and contains configuration.RecursiveCallException
- if this external transport notifies a listener
about any events inside this method call.void disconnect()
ExternalTransportListener.onDisconnected(Throwable)
RecursiveCallException
- if external transport notifies a listener
about any events inside this method call.void sendMessage(Message message)
message
- which has to be sent.RecursiveCallException
- if this external transport notifies a listener
about any events inside this method call.void setTransportListener(ExternalTransportListener listener)
listener
- that will handle the transport events.RecursiveCallException
- if this external transport notifies a listener
about any events inside this method call.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.