public interface SessionFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
create(SocketChannel channel,
org.jetlang.fibers.NioFiber fiber,
org.jetlang.fibers.NioControls controls,
HttpRequest headers) |
static SessionFactory<Map<String,Object>> |
mapPerClient() |
static SessionFactory<Void> |
none() |
void |
onClose(T session) |
static SessionFactory<Map<String,Object>> mapPerClient()
static SessionFactory<Void> none()
T create(SocketChannel channel, org.jetlang.fibers.NioFiber fiber, org.jetlang.fibers.NioControls controls, HttpRequest headers)
void onClose(T session)
Copyright © 2016. All Rights Reserved.