public class ProxyIoSessionInitializer<T extends ConnectFuture> extends java.lang.Object implements IoSessionInitializer<T>
IoSessionInitializer
wrapper class to inject the
ProxyIoSession
object that contains all the attributes of the target connection
into the IoSession
.构造器和说明 |
---|
ProxyIoSessionInitializer(IoSessionInitializer<T> wrappedSessionInitializer,
ProxyIoSession proxyIoSession) |
限定符和类型 | 方法和说明 |
---|---|
ProxyIoSession |
getProxySession() |
void |
initializeSession(IoSession session,
T future) |
public ProxyIoSessionInitializer(IoSessionInitializer<T> wrappedSessionInitializer, ProxyIoSession proxyIoSession)
public ProxyIoSession getProxySession()
public void initializeSession(IoSession session, T future)
initializeSession
在接口中 IoSessionInitializer<T extends ConnectFuture>