dsnserver
Class CmdParserDSNLocation

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

public class CmdParserDSNLocation
extends java.lang.Object
implements CmdParser

It is for parsing the Location messages which are sent back due to a Location 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
CmdParserDSNLocation()
           
 
Method Summary
 void parseLine(java.lang.String line)
          It is responsible for the lines which start with ":DL".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdParserDSNLocation

public CmdParserDSNLocation()
Method Detail

parseLine

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