Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Interface AsyncChannel

All Superinterfaces:
ChannelListenerSupport
All Known Subinterfaces:
Channel, ClusterProtocol, InputChannel, OutputChannel, Protocol, RequestChannel, ResponseChannel
All Known Implementing Classes:
AbstractChannel, 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 AsyncChannel
extends ChannelListenerSupport

Communication channel.


Method Summary
 void beginClose()
          Method is asynchronous.
 void beginOpen()
          Method is asynchronous.
 ChannelState getState()
          Returns channel state.
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.ChannelListenerSupport
addChannelListener, removeChannelListener
 

Method Detail

beginOpen

void beginOpen()
               throws ProtocolException
Method is asynchronous. It will start connection sequence and return. Whether connection is established on return is not specified.

Throws:
ProtocolException - in case of problems establishing connection

beginClose

void beginClose()
Method is asynchronous. It will start disconnection and return. Whether connection is closed on return is not specified.


getState

ChannelState getState()
Returns channel state. Note that the state returned is just a hint. It could change any time (e.g. just after this method returns).

Returns:
State of the connection

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.