Package com.nhncorp.mods.socket.io

Examples of com.nhncorp.mods.socket.io.SocketIOSocket.onDisconnect()


   */
  public void handleDisconnect(String sessionId, String reason, boolean raiseOnDisconnect) {
    SocketIOSocket socket = sockets.get(sessionId);
    if (socket != null && socket.isReadable()) {
      if (raiseOnDisconnect) {
        socket.onDisconnect(reason);
      }
      if (sockets.containsKey(sessionId)) {
        sockets.remove(sessionId);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.