rice.pastry.direct
Interface SimulatorListener
public interface SimulatorListener
Notified for every message that is sent over the network.
to install this, call NetworkSimulator.addSimulatorListener().
- Author:
- Jeff Hoye
messageSent
void messageSent(Message m,
NodeHandle from,
NodeHandle to,
int delay)
- Called for every message sent over the network.
- Parameters:
m
- the Message that was sent.from
- the source.to
- the destinationdelay
- when the message will be delivered (in millis)
Copyright © 2001-2005 - Rice Pastry.