org.jlab.coda.cMsg.apps
Class cMsgAlarmServer

java.lang.Object
  extended by org.jlab.coda.cMsg.apps.cMsgAlarmServer

public class cMsgAlarmServer
extends java.lang.Object

This is a general purpose cMsg alarm server which logs special cMsg alarm messages to screen, file, and/or database. Example command line options:

-url jdbc:mysql://xdaq/test -driver com.mysql.jdbc.Driver -account fred

Version:
1.0

Constructor Summary
cMsgAlarmServer()
           
 
Method Summary
static void init_database()
           
static void logToDatabase(cMsgMessage msg)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

cMsgAlarmServer

public cMsgAlarmServer()
Method Detail

main

public static void main(java.lang.String[] args)

init_database

public static void init_database()

logToDatabase

public static void logToDatabase(cMsgMessage msg)