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 |
openlsd.server.admin.LSDInitDB.LSDInitDB | ( | LSDLoadConfig | llc | ) | [private] |
Create a LSDInitDB from driver ans server args
llc |
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!
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.
LSDDbAdmin openlsd.server.admin.LSDInitDB.admin = null [private] |
DB Admin
LSDDbLegacy openlsd.server.admin.LSDInitDB.legacy1 = null [private] |
DB Legacy 1
LSDDbLegacy openlsd.server.admin.LSDInitDB.legacy2 = null [private] |
DB Legacy 2
String openlsd.server.admin.LSDInitDB.IP = null [private] |
IP for service
int openlsd.server.admin.LSDInitDB.porta [private] |
Port for Admin
int openlsd.server.admin.LSDInitDB.portu [private] |
Port for User
int openlsd.server.admin.LSDInitDB.portc [private] |
Port for Compressed Client
int openlsd.server.admin.LSDInitDB.portp [private] |
Port for Protected Client
long openlsd.server.admin.LSDInitDB.legacysize = 1L [private] |
Size of Legacy