public class ProtocolImpl extends Object implements Protocol
Protocol
implementationConstructor 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()
Protocol
ProtocolHandlerChain
which is defined for the Protocol
getProtocolChain
in interface Protocol
public ProtocolSession newSession(ProtocolTransport transport)
Protocol
ProtocolSession
for the given ProtocolTransport
newSession
in interface Protocol
public ProtocolConfiguration getConfiguration()
Protocol
ProtocolConfiguration
getConfiguration
in interface Protocol
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.