|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.ClientChannelHandlerFactory
public class ClientChannelHandlerFactory
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.
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 |
---|
public ClientChannelHandlerFactory(ProtocolFactory protocolFactory)
protocolFactory
- the protocol factory.Method Detail |
---|
public ProtocolFactory getProtocolFactory()
public ClientChannelHandler createHandler(Connection connection, ConnectionConfiguration config)
connection
- the newly accepted incoming client connection.config
- the channel connection configuration.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |