openlsd.server.admin.LSDInitDB Class Reference

Collaboration diagram for openlsd.server.admin.LSDInitDB:

Collaboration graph
[legend]

List of all members.


Detailed Description

Main Class to show an example of initialization of DB only
WARNING: this version is not for production, it was done for testing purpose only!
Author:
Frederic Bregier LGPL

Static Public Member Functions

static void main (String[] args)

Private Member Functions

 LSDInitDB (LSDLoadConfig llc)
boolean initLSD ()

Private Attributes

LSDDbAdmin admin = null
LSDDbLegacy legacy1 = null
LSDDbLegacy legacy2 = null
String IP = null
int porta
int portu
int portc
int portp
long legacysize = 1L

Constructor & Destructor Documentation

openlsd.server.admin.LSDInitDB.LSDInitDB ( LSDLoadConfig  llc  )  [private]

Create a LSDInitDB from driver ans server args

Parameters:
llc 


Member Function Documentation

static void openlsd.server.admin.LSDInitDB.main ( String[]  args  )  [static]

Try to initialize some values to enable the database support for LSD.
WARNING: this version is not for production, it was done for testing purpose only!

Parameters:
args with 1-openlsddb config file, and optionaly 2-IP porta portu portc portp legacysize

boolean openlsd.server.admin.LSDInitDB.initLSD (  )  [private]

Sample of Initialization of LSD from DB point of vue: 4 IpPort, 4 Services and 2 Legacy are created. If the Legacy are already created in DB, then they are just loaded from the DB.

Returns:
True if OK, else False


Member Data Documentation

DB Admin

DB Legacy 1

DB Legacy 2

String openlsd.server.admin.LSDInitDB.IP = null [private]

IP for service

Port for Admin

Port for User

Port for Compressed Client

Port for Protected Client

Size of Legacy


The documentation for this class was generated from the following file: