com.genesyslab.platform.commons.protocol
Interface OutputChannel
- All Superinterfaces:
- AsyncChannel, Channel, ChannelListenerSupport
- All Known Subinterfaces:
- ClusterProtocol, Protocol
- All Known Implementing Classes:
- AbstractClusterChannel, BasicChatProtocol, CallbackClientChannelHandler, CallbackProtocol, CallbackProtocolListener, ChatClientChannelHandler, ChatProtocolsListener, ClientChannel, ClientChannelHandler, ClusterProtocolImpl, ConfServerClientChannelHandler, ConfServerProtocol, ConfServerProtocolListener, DuplexChannel, EmailClientChannelHandler, EmailProtocol, EmailProtocolListener, EspClusterProtocol, EspEmailClientChannelHandler, EspEmailClusterProtocol, EspEmailProtocol, EspEmailProtocolListener, ExternalServiceClientChannelHandler, ExternalServiceProtocol, ExternalServiceProtocolListener, FlexChatClusterProtocol, FlexChatProtocol, InteractionServerClientChannelHandler, InteractionServerProtocol, InteractionServerProtocolListener, LcaUdpHeartbeatInternalProtocol, LocalControlAgentProtocol, MessageServerProtocol, OptionalRegistrationChannel, OutboundServerProtocol, RoutingServerProtocol, ServerChannel, SolutionControlServerProtocol, StatServerProtocol, TServerProtocol, UcsClusterProtocol, UniversalContactServerClientChannelHandler, UniversalContactServerProtocol, UniversalContactServerProtocolListener, UrsCustomProtocol, UrsCustomProtocolListener, WebmediaChannel, WebMediaClientChannelHandler
public interface OutputChannel
- extends Channel
send
void send(Message message)
throws ProtocolException
- Sends message to remote party. This method is usually asynchronous,
so not every problem that occurs during send operation is thrown
as exception. Detected problem may lead to error handler execution
or even connection termination.
- Parameters:
message
- Message to send
- Throws:
ProtocolException
- if there is some problems with message structure
ProtocolException
- some generic problems
addListener
void addListener(OutputChannelListener listener)
- Attaches listener to OutputChannel implementer instance.
Checks for duplication, will not add the same listener twice
- Parameters:
listener
- listener to be attached.
removeListener
void removeListener(OutputChannelListener listener)
- Detaches listener from OutputChannel implementer instance.
Does nothing if listener was not attached before.
- Parameters:
listener
- listener to be detached.
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.