src/main/java/com/nhncorp/mods/socket/io/impl/Manager.java
public void onDispatch(String room, String encodedPacket, boolean isVolatile, JsonArray exceptions) {
		if(room.equals("/")) {
			room = "";
		}

		Room thisRoom = this.rooms.get(room);
		if (thisRoom != null) {
			for (String id : thisRoom.values()) {
				if (!exceptions.contains(id)) {
					Transport transport = this.transports.get(id);
					if (transport != null && transport.isOpen()) {
						transports.get(id).onDispatch(encodedPacket, isVolatile);
					} else if (!isVolatile) {
						this.onClientDispatch(id, encodedPacket);
					}

				}
			}
		}
	}
/**
	 * Called when a message is sent to a namespace and/or room.
	 *
	 * @see "Manager.prototype.onDispatch"
	 * @param room
	 * @param encodedPacket
	 * @param isVolatile
	 * @param exceptions
	 */
Called when a message is sent to a namespace and/or room.
Called when a message is sent to a namespace and / or room .
public void onDispatch(String room, String encodedPacket, boolean isVolatile, JsonArray exceptions) {
		if(room.equals("/")) {
			room = "";
		}
		Room thisRoom = this.rooms.get(room);
		if (thisRoom != null) {
			for (String id : thisRoom.values()) {
				if (!exceptions.contains(id)) {
					Transport transport = this.transports.get(id);
					if (transport != null && transport.isOpen()) {
						transports.get(id).onDispatch(encodedPacket, isVolatile);
					} else if (!isVolatile) {
						this.onClientDispatch(id, encodedPacket);
					}
				}
			}
		}
	}
public void onDispatch ( String room , String encodedPacket , boolean isVolatile , JsonArray exceptions ) { if ( room . equals ( "/" ) ) { room = "" ; } Room thisRoom = this . rooms . get ( room ) ; if ( thisRoom != null ) { for ( String id : thisRoom . values ( ) ) { if ( ! exceptions . contains ( id ) ) { Transport transport = this . transports . get ( id ) ; if ( transport != null && transport . isOpen ( ) ) { transports . get ( id ) . onDispatch ( encodedPacket , isVolatile ) ; } else if ( ! isVolatile ) { this . onClientDispatch ( id , encodedPacket ) ; } } } } }
Called when a message is sent to a namespace and/or room.
Called when a message is sent to a namespace and / or room .