How can we know if the RSVP process effectively does what we asked it to do? The control architecture is given an RSVP message, it then processes it, eventually sends a message back to the switch in order to be sent to the next/previous hop. The changes made to the RSVP states are not clearly visible, because many things could happen.
A basic command line interface has been implemented to monitor the different states whenever wanted. The Console class enables the user to display the path state, reservation state, traffic control state as well as the state of the simulated switch. Examples of the console's output can be seen in chapter
.
In order to display easily the contents of the messages and of the states, each class has a method called print. Used for an RSVP object, it displays the different fields of the object in a readable form; if it is called for a state block, it prints information about all every object composing the state. This method uses facilities provided by an external class: display.Print provides methods to display arrays, IP addresses, booleans, etc, in a suitable form.