urv.emulator.tasks
Interface EmulationMessageListener

All Known Implementing Classes:
CommunicationLog, CommunicationStatsTask

public interface EmulationMessageListener

This listener is used to check whether all the messages sent into an emulation are properly received by end-to-end application, and thus verify the correct behaviour of all layers

Author:
Marcel Arrufat Arias

Method Summary
 void onMessageReceived(org.jgroups.Message msg, java.net.InetAddress src, java.net.InetAddress mainDst, java.net.InetAddress realDst, int seqNumber)
           
 void onMessageSent(org.jgroups.Message msg, java.net.InetAddress src, java.net.InetAddress dst, int seqNumber, org.jgroups.View view)
           
 

Method Detail

onMessageReceived

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

onMessageSent

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