예제 #1
0
  @Override
  public void sessionOpened(IoSession session) throws Exception {
    super.sessionOpened(session);

    IoHandler handler = new MinaNetworkClientHandler(networkService, eventAdminTracker);
    handlers.put(session, handler);
    handler.sessionOpened(session);
  }
예제 #2
0
  /** {@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);
  }
예제 #3
0
 @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);
 }