Class MessageDisposer

java.lang.Object
eu.bandm.tools.message.MessageDisposer
All Implemented Interfaces:
MessageReceiver<Message>

public final class MessageDisposer extends Object implements MessageReceiver<Message>
Does nothing with every message it receives.
  • Field Details

    • DISPOSER

      public static final MessageDisposer DISPOSER
      One single instance which can dispose all kinds of messages.
  • Constructor Details

    • MessageDisposer

      public MessageDisposer()
  • Method Details

    • receive

      public void receive(Message msg)
      Does nothing with the received message.
      Specified by:
      receive in interface MessageReceiver<Message>
      Parameters:
      msg - the message to receive.