public synchronized void initialize() {
if (this.acceptor == null) {
NioSocketAcceptor acceptor = session.getServerFactoryManager().getTcpipForwardingAcceptorFactory().createNioSocketAcceptor(session);
acceptor.setHandler(this);
acceptor.setReuseAddress(true);
acceptor.getFilterChain().addLast("executor", new ExecutorFilter(EnumSet.complementOf(EnumSet.of(IoEventType.SESSION_CREATED)).toArray(new IoEventType[0])));
this.acceptor = acceptor;
}
}