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.| Modifier and Type | Field and Description |
|---|---|
private ProxyIoSession |
proxyIoSession |
private IoSessionInitializer<T> |
wrappedSessionInitializer |
| Constructor and Description |
|---|
ProxyIoSessionInitializer(IoSessionInitializer<T> wrappedSessionInitializer,
ProxyIoSession proxyIoSession) |
| Modifier and Type | Method and Description |
|---|---|
ProxyIoSession |
getProxySession() |
void |
initializeSession(IoSession session,
T future) |
private final IoSessionInitializer<T extends ConnectFuture> wrappedSessionInitializer
private final ProxyIoSession proxyIoSession
public ProxyIoSessionInitializer(IoSessionInitializer<T> wrappedSessionInitializer, ProxyIoSession proxyIoSession)
public ProxyIoSession getProxySession()
public void initializeSession(IoSession session, T future)
initializeSession in interface IoSessionInitializer<T extends ConnectFuture>