urv.emulator.tasks
Class MessageNotifier

java.lang.Object
  extended by urv.emulator.tasks.MessageNotifier

public class MessageNotifier
extends java.lang.Object

This class registers listeners that will receive all the messages sent by MChannels

Author:
Marcel Arrufat Arias

Constructor Summary
MessageNotifier()
           
 
Method Summary
 void addMessageListener(EmulationMessageListener listener)
           
 void newMessageReceived(org.jgroups.Message msg, java.net.InetAddress src, java.net.InetAddress mainDst, java.net.InetAddress realDst, int seqNumber)
           
 void newMessageSent(org.jgroups.Message msg, java.net.InetAddress src, java.net.InetAddress dst, int seqNumber, org.jgroups.View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageNotifier

public MessageNotifier()
Method Detail

addMessageListener

public void addMessageListener(EmulationMessageListener listener)

newMessageReceived

public void newMessageReceived(org.jgroups.Message msg,
                               java.net.InetAddress src,
                               java.net.InetAddress mainDst,
                               java.net.InetAddress realDst,
                               int seqNumber)

newMessageSent

public void newMessageSent(org.jgroups.Message msg,
                           java.net.InetAddress src,
                           java.net.InetAddress dst,
                           int seqNumber,
                           org.jgroups.View view)