Static Public Member Functions | |
static void | main (String[] args) |
static void | terminate (boolean exit) |
static void | terminate () |
static boolean | isAdminRunning () |
static boolean | isUserRunning () |
static boolean | isUserCompRunning () |
static boolean | isProtectedRunning () |
static boolean | isPasswdAdmin (String passwd) |
static boolean | isPasswdProtected (String passwd) |
Static Public Attributes | |
static LSDServerHttpIoHandler | serverHttpIoHandler = null |
Static Protected Member Functions | |
static boolean | startUser () |
static boolean | startUserComp () |
static boolean | startProtected () |
static void | stopUser (boolean wait) |
static void | stopUserComp (boolean wait) |
static void | stopProtected (boolean wait) |
static void | stopAdmin (boolean wait) |
Static Protected Attributes | |
static LSDServerInstance[] | LSI = null |
static final ConcurrentHashMap < Long, LSDLegacy > | LegacyHMap |
static boolean | shutdown = false |
static boolean | isUp = true |
Private Member Functions | |
LSDServer () | |
void | setMINAGC () |
boolean | startAdmin () |
Static Private Member Functions | |
static void | initSignalHandler () |
Static Private Attributes | |
static Thread | hook = null |
openlsd.network.server.LSDServer.LSDServer | ( | ) | [private] |
Constructor for LSDServer
static void openlsd.network.server.LSDServer.main | ( | String[] | args | ) | [static] |
Main body : read the XML config file, then starts the servers
args | is the filename of the XML config file |
static void openlsd.network.server.LSDServer.terminate | ( | boolean | exit | ) | [static] |
Terminate in case of Signal or Big error !
exit | If True, will call System.exit |
static void openlsd.network.server.LSDServer.terminate | ( | ) | [static] |
Terminate in case of Signal or Big error !
static void openlsd.network.server.LSDServer.initSignalHandler | ( | ) | [static, private] |
Signal Handler initialization: enables a better shutdown of socket
void openlsd.network.server.LSDServer.setMINAGC | ( | ) | [private] |
Defined the allocator policy for MINA
boolean openlsd.network.server.LSDServer.startAdmin | ( | ) | [private] |
Start the Server for Admin
static boolean openlsd.network.server.LSDServer.startUser | ( | ) | [static, protected] |
Start the Server for User without compression
static boolean openlsd.network.server.LSDServer.startUserComp | ( | ) | [static, protected] |
Start the Server for User with compression
static boolean openlsd.network.server.LSDServer.startProtected | ( | ) | [static, protected] |
Start the Server for Protected
static void openlsd.network.server.LSDServer.stopUser | ( | boolean | wait | ) | [static, protected] |
Stop the Server for User without compression
wait | boolean to decide if the Server stop should wait on session already connected to finished normally or not. |
static void openlsd.network.server.LSDServer.stopUserComp | ( | boolean | wait | ) | [static, protected] |
Stop the Server for User with compression
wait | boolean to decide if the Server stop should wait on session already connected to finished normally or not. |
static void openlsd.network.server.LSDServer.stopProtected | ( | boolean | wait | ) | [static, protected] |
Stop the Server for Protected
wait | boolean to decide if the Server stop should wait on session already connected to finished normally or not. |
static void openlsd.network.server.LSDServer.stopAdmin | ( | boolean | wait | ) | [static, protected] |
Stop the Server for Admin
wait | boolean to decide if the Server stop should wait on session already connected to finished normally or not. |
static boolean openlsd.network.server.LSDServer.isAdminRunning | ( | ) | [static] |
static boolean openlsd.network.server.LSDServer.isUserRunning | ( | ) | [static] |
static boolean openlsd.network.server.LSDServer.isUserCompRunning | ( | ) | [static] |
static boolean openlsd.network.server.LSDServer.isProtectedRunning | ( | ) | [static] |
static boolean openlsd.network.server.LSDServer.isPasswdAdmin | ( | String | passwd | ) | [static] |
Check the password for Admin
passwd |
static boolean openlsd.network.server.LSDServer.isPasswdProtected | ( | String | passwd | ) | [static] |
Check the password for Protected
passwd |
LSDServerInstance [] openlsd.network.server.LSDServer.LSI = null [static, protected] |
ServerInstances Admin(0),User(1),UserComp(2),Protected(3)
final ConcurrentHashMap<Long,LSDLegacy> openlsd.network.server.LSDServer.LegacyHMap [static, protected] |
Initial value:
new ConcurrentHashMap<Long,LSDLegacy>()
boolean openlsd.network.server.LSDServer.shutdown = false [static, protected] |
Status if the server is globally going down
boolean openlsd.network.server.LSDServer.isUp = true [static, protected] |
Status if the server is still up
HTTP Service
Thread openlsd.network.server.LSDServer.hook = null [static, private] |
Handler for Signal