dsnserver
Class CmdParserLogging

java.lang.Object
  extended by dsnserver.CmdParserLogging
All Implemented Interfaces:
CmdParser

public class CmdParserLogging
extends java.lang.Object
implements CmdParser

It is for parsing the log messages which comes from all BTnodes and it will store it into the DB. When the DB table has no entry of a specific node we will request all logs of this node. After that we are looking for the last msgID an request all log messages which are newer than the last msgID in the DB.

Author:
kaltt

Nested Class Summary
static class CmdParserLogging.dsn
           
 
Field Summary
(package private)  boolean dropit
           
static java.util.HashMap<java.lang.String,CmdParserLogging.dsn> DSN
           
(package private)  java.lang.String DSNID
           
(package private)  DSNtimetoTime dsnTime
           
(package private)  boolean exists
           
(package private)  java.lang.String FragNr
           
(package private)  java.lang.String LineT
           
(package private)  java.lang.String LogText
           
(package private)  int MsgID
           
(package private)  java.lang.String SLClass
           
(package private)  java.lang.String SLLevel
           
(package private)  java.lang.String SLTime
           
(package private)  boolean test
           
 
Constructor Summary
CmdParserLogging(DSNtimetoTime dsnTime)
           
 
Method Summary
 void parseLine(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

test

boolean test

DSNID

java.lang.String DSNID

MsgID

int MsgID

FragNr

java.lang.String FragNr

SLTime

java.lang.String SLTime

SLClass

java.lang.String SLClass

SLLevel

java.lang.String SLLevel

LogText

java.lang.String LogText

LineT

java.lang.String LineT

dsnTime

DSNtimetoTime dsnTime

dropit

boolean dropit

exists

boolean exists

DSN

public static java.util.HashMap<java.lang.String,CmdParserLogging.dsn> DSN
Constructor Detail

CmdParserLogging

public CmdParserLogging(DSNtimetoTime dsnTime)
Method Detail

parseLine

public void parseLine(java.lang.String line)
Specified by:
parseLine in interface CmdParser