dsnserver
Class CmdParserDSNProgInfo

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

public class CmdParserDSNProgInfo
extends java.lang.Object
implements CmdParser

It is for parsing the ProgInfo messages which are sent back due to a ProgInfo request. It is used to update the dsninfo table which shows all DSNnode which was seen since the DSNServer has started.

Author:
kaltt

Field Summary
private  java.lang.String DSNID
           
 
Constructor Summary
CmdParserDSNProgInfo()
           
 
Method Summary
 void parseLine(java.lang.String line)
          It is responsible for the lines which start with ":DP".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DSNID

private java.lang.String DSNID
Constructor Detail

CmdParserDSNProgInfo

public CmdParserDSNProgInfo()
Method Detail

parseLine

public void parseLine(java.lang.String line)
It is responsible for the lines which start with ":DP". It parses the ProgInfo and write it to the DB, if this DSNID doesn't already exist, otherwise it will update the existing row with the new time and location.

Specified by:
parseLine in interface CmdParser
Parameters:
String - line