src/main/java/com/nhncorp/mods/socket/io/impl/Transport.java
protected void end(String reason) {
		if(!this.isDisconnected()) {
	   	    log.info("transport end (" + reason + ")");
			Transport local = manager.getTranport(sessionId);
			this.close();
			this.clearTimeouts();
			this.isDisconnected = true;

			if(local != null) {
				manager.onClientDisconnect(sessionId, reason, true);
			} else {
//				this.store.publish('disconnect:' + this.id, reason);
			}
		}
	}
/**
	 * Cleans up the connection, considers the client disconnected.
	 *
	 * @see "Transport.prototype.end"
	 * @param reason
	 */
Cleans up the connection, considers the client disconnected.
Cleans up the connection considers the client disconnected .
protected void end(String reason) {
		if(!this.isDisconnected()) {
	   	    log.info("transport end (" + reason + ")");
			Transport local = manager.getTranport(sessionId);
			this.close();
			this.clearTimeouts();
			this.isDisconnected = true;
			if(local != null) {
				manager.onClientDisconnect(sessionId, reason, true);
			} else {
			}
		}
	}
protected void end ( String reason ) { if ( ! this . isDisconnected ( ) ) { log . info ( "transport end (" + reason + ")" ) ; Transport local = manager . getTranport ( sessionId ) ; this . close ( ) ; this . clearTimeouts ( ) ; this . isDisconnected = true ; if ( local != null ) { manager . onClientDisconnect ( sessionId , reason , true ) ; } else { } } }
Cleans up the connection, considers the client disconnected.
Cleans up the connection considers the client disconnected .
//				this.store.publish('disconnect:' + this.id, reason);