|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.network.client.common.LSDSignalHandler
public class LSDSignalHandler
Class for the Signal Handler that shutdown the connection and socket before exit
Field Summary |
---|
Fields inherited from interface sun.misc.SignalHandler |
---|
SIG_DFL, SIG_IGN |
Constructor Summary | |
---|---|
LSDSignalHandler()
|
Method Summary | |
---|---|
static void |
addConnection(java.sql.Connection conn)
Add a Connection into the list |
static void |
addIoSession(org.apache.mina.common.IoSession ioSession)
Add an IoSession into the list |
void |
handle(sun.misc.Signal signal)
Handle signal |
static void |
initSignalHandler()
Function to initialized the SignalHandler |
static void |
removeConnection(java.sql.Connection conn)
Remove a Connection from the list |
static void |
removeIoSession(org.apache.mina.common.IoSession ioSession)
Remove an IoSession from the list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LSDSignalHandler()
Method Detail |
---|
public static void initSignalHandler()
public void handle(sun.misc.Signal signal)
handle
in interface sun.misc.SignalHandler
signal
- public static void addIoSession(org.apache.mina.common.IoSession ioSession)
ioSession
- public static void removeIoSession(org.apache.mina.common.IoSession ioSession)
ioSession
- public static void addConnection(java.sql.Connection conn)
conn
- public static void removeConnection(java.sql.Connection conn)
conn
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |