next up previous contents
Next: Traffic Control: setting up Up: Switch interface: traffic and Previous: Switch interface: traffic and   Contents


Receiving RSVP messages

In order to test easily each component, since UDP traffic was not used, a named pipe was preferred to a socket as the interface between the control architecture and the RSVP message generator. That permitted some of the features to be tested with simple Unix commands.

The SimulatorInterface class is designed to get RSVP messages from the simulator. The getRawPacket method receives packets of information. As only RSVP messages are received, the length field of the header is used to determine the length of the message.



Hugo Haas
hugo@larve.net
July 1998 - Please note that this HTML version is broken; I advise you to read the PostScript version.