public class ProtocolImpl extends Object implements Protocol
Protocol implementation| Constructor and Description |
|---|
ProtocolImpl(ProtocolHandlerChain chain,
ProtocolConfiguration config,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
ProtocolConfiguration |
getConfiguration()
Return the
ProtocolConfiguration |
ProtocolHandlerChain |
getProtocolChain()
Return the
ProtocolHandlerChain which is defined for the Protocol |
ProtocolSession |
newSession(ProtocolTransport transport)
Create a new
ProtocolSession for the given ProtocolTransport |
protected final Logger logger
public ProtocolImpl(ProtocolHandlerChain chain, ProtocolConfiguration config, Logger logger)
public ProtocolHandlerChain getProtocolChain()
ProtocolProtocolHandlerChain which is defined for the ProtocolgetProtocolChain in interface Protocolpublic ProtocolSession newSession(ProtocolTransport transport)
ProtocolProtocolSession for the given ProtocolTransportnewSession in interface Protocolpublic ProtocolConfiguration getConfiguration()
ProtocolProtocolConfigurationgetConfiguration in interface ProtocolCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.