public void discardMessages(int mask) {
		synchronized (this) {
			m_lastMessagesReceived &= ~mask;
			m_messagesReceived &= ~mask;
		}
	}
Discard pending messages that match the given mask.

@param mask The messages to discard.
ngrinder-core/src/main/java/net/grinder/engine/communication/AgentControllerServerListener.java