sendGfeMessage User's Guide

January 4, 2012


The sendGfeMessage program is part of the GFESuite software. It takes a message specified on the command line and broadcasts it to all connected clients through EDEX. The message, when received by the GFE, is displayed in AlertViz.

Running the program

Command Line Switches

The command line syntax is:

sendGfeMessage -h hostname -p rpcport [-r] [-s] [-u] [-a] [-c class] -m message

   
Command Switch Optional or Mandatory? Description
-h Mandatory (see Note) Host name upon which EDEX is running
-p Mandatory (see Note) RPC port upon which EDEX is running
-r
Optional
Send as a routine message. (default)
-s
Optional
Send as a significant message.
-u
Optional
Send as an urgent message. Urgent messages in the GFE will display a red banner.
-a
Optional
Send as an alert message.  Alert messages in the GFE only appear in AlertViz.
-c
Optional
Message class, used by GFE to determine whether message should appear in the left or right AlertViz bar. Default is "GFE", which appears in the left AlertViz bar.
-m
Mandatory
Message contents.
Note: The -h and -p switches are predefined when running in an installed GFESuite environment. They are defined to the values specified when installing the software. If you wish to connect to a different EDEX, then the switches will need to be specified.

The Message Classes that the GFE currently uses are shown in the following table:

Message Class
Description
Appearance on GFE Status Bar
SMARTINIT
Used by smart initialization processes to inform the forecaster that new model data has been processed.
Right status bar
ISC
Used by the ISC processing that new ISC data has been received and processed.
Right status bar
NDFD
Message used by the NDFD central server to alert forecasters to NDFD issues on missing grids, etc.
Right status bar
GFE
General GFE status messages.
Left status bar



Example Input

sendGfeMessage -r -c GFE -m "test from sendGfeMessage"



Return to TOC