Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Interface AsyncChannelOperations

All Known Implementing Classes:
BasicChatProtocol, CallbackClientChannelHandler, CallbackProtocol, ChatClientChannelHandler, ClientChannel, ClientChannelHandler, ConfServerClientChannelHandler, ConfServerProtocol, DuplexChannel, EmailClientChannelHandler, EmailProtocol, EspEmailClientChannelHandler, EspEmailProtocol, ExternalServiceClientChannelHandler, ExternalServiceProtocol, FlexChatProtocol, InteractionServerClientChannelHandler, InteractionServerProtocol, LcaUdpHeartbeatInternalProtocol, LocalControlAgentProtocol, MessageServerProtocol, OptionalRegistrationChannel, OutboundServerProtocol, RoutingServerProtocol, SolutionControlServerProtocol, StatServerProtocol, TServerProtocol, UniversalContactServerClientChannelHandler, UniversalContactServerProtocol, UrsCustomProtocol, WebmediaChannel, WebMediaClientChannelHandler

public interface AsyncChannelOperations

Asynchronous operations.


Method Summary
<A> void
closeAsync(CompletionHandler<ChannelClosedEvent,A> handler, A attachment)
          Close channel asynchronously.
<A> void
closeAsync(long timeout, CompletionHandler<ChannelClosedEvent,A> handler, A attachment)
          Open channel asynchronously.
<A> void
openAsync(CompletionHandler<java.util.EventObject,A> handler, A attachment)
          Open channel asynchronously.
<A> void
openAsync(long timeout, CompletionHandler<java.util.EventObject,A> handler, A attachment)
          Open channel asynchronously.
 

Method Detail

openAsync

<A> void openAsync(CompletionHandler<java.util.EventObject,A> handler,
                   A attachment)
Open channel asynchronously.

Parameters:
handler - success/fail result handling.

openAsync

<A> void openAsync(long timeout,
                   CompletionHandler<java.util.EventObject,A> handler,
                   A attachment)
Open channel asynchronously.

Parameters:
timeout - operation timeout in milliseconds. Timeout will cancel the opening.
handler - success/fail result handling.

closeAsync

<A> void closeAsync(CompletionHandler<ChannelClosedEvent,A> handler,
                    A attachment)
Close channel asynchronously.

Parameters:
handler - success/fail result handling.

closeAsync

<A> void closeAsync(long timeout,
                    CompletionHandler<ChannelClosedEvent,A> handler,
                    A attachment)
Open channel asynchronously.

Parameters:
timeout - operation timeout in milliseconds. Timeout do not cancel the closing and do not close forcly the channel.
handler - success/fail result handling.

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.