M
- Type of FactoryManager
S
- Type of AbstractSession
public 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, sessionCreated
protected AbstractSessionFactory(M manager)
public M getFactoryManager()
protected S createSession(IoSession ioSession) throws Exception
createSession
in class AbstractSessionIoHandler
Exception
protected abstract S doCreateSession(IoSession ioSession) throws Exception
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.