M - Type of FactoryManagerS - Type of AbstractSessionpublic abstract class AbstractSessionFactory<M extends FactoryManager,S extends AbstractSession> extends AbstractSessionIoHandler
log| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSessionFactory(M manager) |
| Modifier and Type | Method and Description |
|---|---|
protected S |
createSession(IoSession ioSession) |
protected abstract S |
doCreateSession(IoSession ioSession) |
M |
getFactoryManager() |
protected S |
setupSession(S session) |
exceptionCaught, messageReceived, sessionClosed, sessionCreatedgetSimplifiedLoggerprotected AbstractSessionFactory(M manager)
public M getFactoryManager()
protected S createSession(IoSession ioSession) throws Exception
createSession in class AbstractSessionIoHandlerExceptionprotected abstract S doCreateSession(IoSession ioSession) throws Exception
ExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.