CLI Architecture

The following image depicts the CLI architecture:
csp
The following image depicts the CLI architecture:
SPEC--CLI_architecture
The CLI Local Server, which uses .vnmshrc at startup, performs the following major functions:
  • Maintaining a constant network connection with
    SpectroSERVER
    . The CLI Local Server prevents disconnection when a command is executed each time. This server maintains a
    single
    connection to
    SpectroSERVER
    regardless of the number of CLI users that are connected to the daemon. The socket connects and disconnects are expensive as far as time and resource usage are concerned.
  • Maintaining state information for each CLI user. The 'current' and setjump commands, for example, require the CLI Local Server to store state information. The current command stores a model handle and a landscape handle for use in future commands. The setjump command stores a text string to identify the current position of users in a
    CA Spectrum
    landscape.