public class SPDYServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
Constructor and Description |
---|
SPDYServerConnectionFactory(int version) |
SPDYServerConnectionFactory(int version,
ServerSessionFrameListener listener) |
Modifier and Type | Method and Description |
---|---|
static void |
checkNPNAvailable() |
protected void |
doStop()
Stops the managed lifecycle beans in the reverse order they were added.
|
int |
getInitialWindowSize() |
ServerSessionFrameListener |
getServerSessionFrameListener() |
protected Collection<Session> |
getSessions() |
short |
getVersion() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
protected FlowControlStrategy |
newFlowControlStrategy(short version) |
protected ServerSessionFrameListener |
provideServerSessionFrameListener(Connector connector,
EndPoint endPoint) |
protected boolean |
sessionClosed(Session session) |
protected boolean |
sessionOpened(Session session) |
void |
setInitialWindowSize(int initialWindowSize) |
configure, getFactories, getInputBufferSize, getProtocol, setInputBufferSize, toString
addBean, addBean, addBean, contains, destroy, doStart, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, setStopTimeout, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public SPDYServerConnectionFactory(int version)
public SPDYServerConnectionFactory(int version, ServerSessionFrameListener listener)
public static void checkNPNAvailable()
public short getVersion()
public ServerSessionFrameListener getServerSessionFrameListener()
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
protected FlowControlStrategy newFlowControlStrategy(short version)
protected ServerSessionFrameListener provideServerSessionFrameListener(Connector connector, EndPoint endPoint)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
protected boolean sessionOpened(Session session)
protected boolean sessionClosed(Session session)
protected void doStop() throws Exception
ContainerLifeCycle
doStop
in class ContainerLifeCycle
Exception
protected Collection<Session> getSessions()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.