14th August 1997

VirtualNet (over RMI)

Executables

There are two programs that allows you to open a RMI remote virtual net session:

vnet.remote.prg.GraphMain

In general, all the programs on this package have been carefully programmed, and the result is, in general, quite good (ok, it's me who has programmed it, I'm not going to speak bad about myself). The exception (and big) is this program. Please don't be very critic if you read this program's code, it is not good at all, but I couldn't spent too much time on it.

The arguments for this program are:

Arguments: [options] [VirtualNetName]
Options:
          -start       : initialize the virtual net
          -delay=n     : time(ms) of delay in each node and link
          -bsize=w,h   : size of the BindServers window
          -csize=w,h   : size of the Console Window
          -gsize=w,h   : size of the Graph Windows
          -gupdate=n   : time(ms) to update the graphs
          -gremain=m   : number of times needed to change the state

If start is present, next options are also available
          -init=cad    : initialize the VirtualNet with the cad info
          -gconsole    : display all the VirtualNet events in a window
          -binds       : display the servers binded to the VirtualNet
          -graphcircle : display the VirtualNet as a round graph
          -graphnet    : display the VirtualNet as a net graph 

This program opens a window where it is possible to create new virtual nets, to configure them, and to open different views of the net.

vnet.remote.prg.Main

The arguments for this program are:

 Arguments: [options] [VirtualNetName]
Options:
          -noecho      : not display initialization information
          -help        : shows this window

          -console     : display all the VirtualNet events
          -gconsole    : display all the VirtualNet events in a window
          -csize=w,h   : size of the Console Window

          -binds       : display the servers binded to the VirtualNet
          -bsize=w,h   : size of the BindServers window

          -graphcircle : display the VirtualNet as a round graph
          -graphnet    : display the VirtualNet as a net graph
          -gsize=w,h   : size of the Graph Windows
          -gupdate=n   : time(ms) to update the graphs
          -gremain=m   : number of times needed to change the state

          -delay=n     : time(ms) of delay in each node and link

          -init=cad    : initializacion string.
          -initfile=file : file to read the initialization. By default, the file 
                                   is name.net