public class SessionFactory extends Object implements IStreamSessionFactory
| Constructor and Description |
|---|
SessionFactory(EngineParameters params,
EngineHandlerBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
closed(ServerSocketChannel channel) |
StreamSession |
create(SocketChannel channel) |
void |
exception(ServerSocketChannel channel,
Throwable exception) |
void |
registered(ServerSocketChannel channel) |
public SessionFactory(EngineParameters params, EngineHandlerBuilder builder)
public StreamSession create(SocketChannel channel) throws Exception
create in interface IStreamSessionFactoryExceptionpublic void registered(ServerSocketChannel channel)
registered in interface IStreamSessionFactorypublic void closed(ServerSocketChannel channel)
closed in interface IStreamSessionFactorypublic void exception(ServerSocketChannel channel, Throwable exception)
exception in interface IStreamSessionFactoryCopyright © 2017–2024 SNF4J.ORG. All rights reserved.