Thomas Karl Osten GMD Tour TnRequestMonitorNetEditor Help

Home Page
Site Map


Work History
Job Tour
GMD Tour


 <    > 

Contents
Survey

DPE 1
DPE 1 Tools
Generator 1
Monitoring
  Local
  Editor Help
DPE 2
DPE 2 Tools
Generator 2
GUI Kit
Subscription 2
ODL Editor

GMD
Tangram Request Monitor Net Editor Help Text

TnRequestMonitorNetEditor V.1.11 alpha, help text
Platform: VisualWorks for Smalltalk-80 Release 2.5.1, ENVY Release 3.01, HP Distributed Smalltalk Release 5.5.

-------------------------------
Contents:
0. Prerequisites.
1. Where to find it.
2. Description.
3. Usage.
      Principle
      Problems
      Start
      Menu Bar
      Buttons
      Net Display
      Log Line
      Defaults
      Requirements
-------------------------------
0. Prerequisites

This net editor works together with TnRequestMonitor.

It needs the applications Tn_DPE V. 0.126 (or higher) and Lok_NetDisplay V. 3.1.


1. Where to find it.

You find class TnRequestMonitorNetEditor in the latest version of application Tn_Monitor.

This help text is available from /net/WWWVST/html/ovma/tangram/project/alte_dpe/tools/TnRequestMonitorNetEditorHelpX.txt (where X is the version number).

To use this help text online, you have two possibilities:

  • to place it into the same directory as the smalltalk image or
  • to set a system environment variable TMMCSHELPPATH to the path where the help text resides (e.g. for GMD developers in UNIX: setenv TMMCSHELPPATH /net/WWWVST/html/ovma/tangram/project/alte_dpe/tools/).

To use the HTML version of this text with netscape started from an Request Monitor Net Editor you have also two possibilities:

  • to place it into the same directory as the smalltalk image or
  • to set a system environment variable TMMCSHTMLHELPPATH to the path where the help text resides (e.g. for GMD developers in UNIX: setenv TMMCSHTMLHELPPATH /net/WWWVST/html/ovma/tangram/project/alte_dpe/tools/).

2. Description.

Online display of T-MMCS activity

TnRequestMonitorNetDisplay is a tool for grafical representation of the T-MMCS. By the help of a local TnRequestMonitor each T-MMCS module (e.g. Access Session) sends events to a event channel. TnRequestMonitorNetEditor receives these events and animates a net representing the desired objects according to the the reported data.

Offline using of log files

Events may be recorded into a log file. Log files may be used later as input for the animation instead of online monitoring.

Object representation

The computational objects (CO) and their communication are represented as grafic objects and their connections. Each grafic object (node) visualises a CO or a module (session, service) and it's states and activities. Each connection stands for a communication (request) between two COs.

Module representing nodes:

  • activity:
    • sending: red frame aroung node
    • receiving: yellow frame around node
  • CO representing nodes:
  • states:
    • not created: lined box
    • created: filled box
  • request activity:
    • sending: red frame aroung node
    • receiving: yellow frame aroung node
  • Request representing connections:
    • request: red connection
    • reply: yellow connection

    3. Usage.

    Principle:

    TnRequestMonitors and TnRequestMonitorNetEditor communicate by using an event channel.

    To establish this event channel communication you connect a TnRequestMonitorNetEditor to the monitoring channel (available via name service or reference file) and connect all local TnRequestMonitors too.

    Just after starting a module (Smalltalk image) with still opened TnRequestMonitorNetEditor or local TnRequestMonitor you first have to disconnect before you can connect.

    Problems:

    TnRequestMonitorNetEditor works very slowly, mostly because of the simple grafic routines for this prototype (which was not implemented for rapid grafic changes). Therefore online monitoring will display the activities with an increasing delay.

    Using the beep, show and write options (see below) on each reported activity consumes time too.

    Start:

    You start the TnRequestMonitorNetEditor by evaluating the phrase

    TnRequestMonitorNetEditor open

    Menu bar:

  • Monitor:
    • Channel connected

      To choose channel as source and switch between connected and disconnected.
      Choice is indicated by setting a flag at the beginning of the menu item.

    • Log file loaded

      To choose log file as source and switch between loaded and unloaded.
      Choice is indicated by setting a flag at the beginning of the menu item.

  • Options:
    • beep

      To indicate each incoming event or each log line read by a short beep tone.

    • show (Transcript)

      To write each incoming or read log line into the system Transcript.

    • write log file

      Only in channel mode:

      To write all incoming log lines into a log file. File names are generated automatically using a time stamp (e.g. TnRMELog.230-12-34-10). The target path may be set using "set log file path" (see below).

    • set log file path

      To set the path for storing log files.

    • set log file running speed
      To choose between low vs. high speed for running a log file. Running with low speed can be interrupted, high speed not (or only after minutes of delay).
      In high speed mode accessing the stop button is problematic and using step or skip is not recommended.

    • reset net

      To reset all node attributes (grafical and functional).

    Buttons:
    • Channel / Log file

      To switch between channel mode and log file mode. Channel mode receives events from the event channel which is filled by the local TnRequestMonitors. Log file mode reads events from a log file.

    • connected / disconnected or
    • loaded / unloaded

      To switch between the two activity states of the chosen working mode.

    • beep

      To indicate each incoming event or each log line read by a short beep tone.

    • show

      To write each incoming or read log line into the system Transcript.

    • write

      Only in channel mode:
      To write all incoming log lines into a log file. File names are generated automatically using a time stamp (e.g. TnRMELog.230-12-34-10). The target path may be set using "set log file path" (see below).

    • run / stop / continue

      To start, stop or continue displaying the events received from a channel or the lines read from a log file.

    • step

      Only in log file mode:
      To show the next line from a log file.

    • skip

      Only in log file mode:
      To skip the next lines from a log file until a line

      SKIPMARK ....
      is found and wait there. (The first word has to be "SKIPMARK" the rest of the line is free text which will be displayed in the log line - field.). Continue with "step" or "continue".

    Net Display:

    The main part of the net editor view is the net display field. In this field nodes and connections can be placed which represent modules or computational objects and their communication. A node has a grafic name which appears in the grafic and it knows the name of the object which he represents (object name). In runtime a node may be instanciated (automatically) with the instance id of the CO which it represents.

    Node menus:

    Connection menus:

    See help for net editor.

    Log Line:

    At the bottom of TnRequestNetEditor is a log line field in which the used log line is displayed.

    The contents of a log line are:

  • module name
  • request type (local, in (inclusive a request id), out)
  • request status (begin, end)
  • timestamp
  • sending co type
  • sending co instance id
  • interface
  • receiving co type
  • receiving co instance id
  • message
  • parameter(s) (the first ten letters)
  • A log line looks like:

    Access  in:26   begin  19:14:46  TnUserAgent  Rudi Ratlos  I_Cucaracha
    TnUsageContext  Rudi Ratlos addNumber  13

    When waiting at a skipmark the skipmark line is displayed.

    Defaults:

    Path and filename for exchange of the event channel's reference are

    /net/temp/TnRequestMonitorChannel

    The default application names are:

    'Access' 'Accounting' 'Communication' 'Subscription' 'Service' 'EndUserSystem1' 'EndUserSystem2' 'EndUserSystem3' 'EndUserSystem4' 'EndUserSystem5' 'GSEP1' 'GSEP2'.

    Requirements:

    TnRequestMonitorDisplay uses TnMonitorInfo, a dictionary class specified with IDL in class DSTRepository protocol 'Tangram IF'.


    A GMD FOKUS Tangram teamwork comprising ideas, solutions and work of lok, tko, asa, som, hw, wow, ce, mkd and jek. November 1996. tko 96-12-09, 96-12-18, tko 97-05-26.