src/infinity/ecs/messaging/IndexedMessageDispatcher.java
/**
	 * Dispatches a {@link Message} which has been send by the specified endpoint to all other
	 * relevant endpoints.
	 * 
	 * @param sender The sender of the {@link Message}.
	 * @param msg The {@link Message} which should be dispatched.
	 */
Dispatches a  Message which has been send by the specified endpoint to all other
relevant endpoints.

@param sender The sender of the  Message.
@param msg The  Message which should be dispatched.
Dispatches a Message which has been send by the specified endpoint to all other relevant endpoints . @param sender The sender of the Message . @param msg The Message which should be dispatched .
void dispatch(IndexedMessageEndpoint sender, Message msg) {
		int msgId = msg.getType().getId(); 
		List<IndexedMessageEndpoint> epList = _endpointRegister.get(msgId);
		if (epList == null)
			return;
		for (IndexedMessageEndpoint ep : epList)
			if (ep != sender)
				ep.receive(msg);
	}
void dispatch ( IndexedMessageEndpoint sender , Message msg ) { int msgId = msg . getType ( ) . getId ( ) ; List < IndexedMessageEndpoint > epList = _endpointRegister . get ( msgId ) ; if ( epList == null ) return ; for ( IndexedMessageEndpoint ep : epList ) if ( ep != sender ) ep . receive ( msg ) ; }
Dispatches a {@link Message} which has been send by the specified endpoint to all other
 relevant endpoints.
Dispatches a { @link Message } which has been send by the specified endpoint to all other relevant endpoints .
// if there are no endpoints registered for the type of the message, there is nothing to
 // dispatch
 // otherwise send the message to every registered endpoint, except the original sender
