@Override public void sessionOpened(IoSession session) throws Exception { super.sessionOpened(session); IoHandler handler = new MinaNetworkClientHandler(networkService, eventAdminTracker); handlers.put(session, handler); handler.sessionOpened(session); }
/** {@inheritDoc} */ @Override public void sessionOpened(IoSession session) throws Exception { SocketSessionConfig ssc = (SocketSessionConfig) session.getConfig(); ssc.setTcpNoDelay(true); // ssc.setReceiveBufferSize(2048); // ssc.setSendBufferSize(2048); super.sessionOpened(session); }
@Override public void sessionOpened(IoSession session) throws Exception { System.out.println("sessionOpened"); super.sessionOpened(session); }
@Override public void sessionOpened(IoSession session) throws Exception { log.debug("Session Opened."); super.sessionOpened(session); }