primary interface of the simulator.
This class represents a network. It starts the simulation by
reading the topology and message workload from a given file or
from standard input, creates and configures the network and starts
the simulation. The syntax of the command-line options is:
Network
[-d
|--debug
] [-n
|--no-forward
] router-class [input-file]
Options:
-d
|--debug
- activates debug
messages (see
Router.print_debug(String)
)
-n
|--no-forward
- suppresses
output of forwarding function (see
Router.print_debug(String)
)
- router-class
- name of the class implementing the
routers. This must be a valid class name for a class available
in the given class path.
- input-file
- name of the file containing the
topology and workload to be simulated.