dsnserver
Class CmdParserDSNVersion

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

public class CmdParserDSNVersion
extends java.lang.Object
implements CmdParser

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

Author:
kaltt

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

Constructor Detail

CmdParserDSNVersion

public CmdParserDSNVersion()
Method Detail

parseLine

public void parseLine(java.lang.String line)
It is responsible for the lines which start with ":DV". It parses the Version 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 version.

Specified by:
parseLine in interface CmdParser