Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Class ClientChannelHandlerFactory

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.ClientChannelHandlerFactory
Direct Known Subclasses:
CallbackClientChannelHandlerFactory, ChatClientChannelHandlerFactory, ConfServerClientChannelHandlerFactory, EmailClientChannelHandlerFactory, EspEmailClientChannelHandlerFactory, ExternalServiceClientChannelHandlerFactory, InteractionServerClientChannelHandlerFactory, UniversalContactServerClientChannelHandlerFactory

public class ClientChannelHandlerFactory
extends java.lang.Object

Common base factory class for creation of client handling channels.
It may be overridden in specific protocols for custom initialization of channels, their connections or transport properties.

See Also:
ServerChannel, ExternalServiceClientChannelHandlerFactory, InteractionServerClientChannelHandlerFactory, ChatClientChannelHandlerFactory

Constructor Summary
ClientChannelHandlerFactory(ProtocolFactory protocolFactory)
          Creates factory instance for the specified protocol.
 
Method Summary
 ClientChannelHandler createHandler(Connection connection, ConnectionConfiguration config)
          Creates client channel handler instance for new incoming client connection.
 ProtocolFactory getProtocolFactory()
          Returns the protocol factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientChannelHandlerFactory

public ClientChannelHandlerFactory(ProtocolFactory protocolFactory)
Creates factory instance for the specified protocol.

Parameters:
protocolFactory - the protocol factory.
Method Detail

getProtocolFactory

public ProtocolFactory getProtocolFactory()
Returns the protocol factory.

Returns:
the protocol factory.

createHandler

public ClientChannelHandler createHandler(Connection connection,
                                          ConnectionConfiguration config)
Creates client channel handler instance for new incoming client connection.

Parameters:
connection - the newly accepted incoming client connection.
config - the channel connection configuration.
Returns:
new instance of the client channel handler.

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.