PreviousTOCNext

The MGS Message

The MGS message contains all the metrics information that the application wanted to log. In addition, the message contains enough information about the application itself to help establish a relationship between different messages. Finally, there is enough information within the message to uniquely identify each message in the system. The MGS Message and its attributes are outlined below.

The Constructor
MGSMessage(String s_id, String t_id, String sys_id, Integer seq_num, String mgs_time, String desc, String d2, String d3, String d4)
MGS Message Parameters
s_id Identifies this user's session, A single session may cover several transactions
t_id Identifies this transaction uniquely. Typically a Servlet will have only one transaction, but an Applet may run through several transactions
sys_id used to identify the program or module within a program
seq_num May be used to help uniquely identify MGS messages, most useful for multi-threaded programs. May be zero.
Date/Time Stamp Date/Time this message was created. Formatted, accurate to the second. If milliseconds are desires use one of the optional fields below.
desc The MGS message to log
desc2 Additional information - optional
desc3 Additional information - optional
desc4 Additional information - optional

NOTE: each attribute above should be accessible by a corresponding "get" method (i.e. getDateTime).

NOTE: there will also be a "getString" method which will return all the fields in a comma delimited string. The nomenclature "getString" was used instead of "toString". Using "toString" seemed to corrupt the data when used as a method.

PreviousTOCNext

Return to Gerber Family Home Page
directNIC Search
Hosted by directNIC.com