|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--amisample.ASListener
AMISample Server side. Listens for incoming messages
Singleton
| Field Summary | |
private static ASListener |
al
Self instance used for signleton pattern |
(package private) static boolean |
bStop
boolean used to stop the thread |
(package private) static ServerSocket |
ss
The server socket |
(package private) Thread |
t
Thread used for auto-start |
| Constructor Summary | |
private |
ASListener()
Default constructor, thread auto-start |
| Method Summary | |
static ASListener |
getInstance()
Return a self instance Implementation of the singleton pattern |
void |
run()
Run method |
(package private) static void |
stop()
Finalize the ami listener |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
Thread t
static ServerSocket ss
static volatile boolean bStop
private static ASListener al
| Constructor Detail |
private ASListener()
| Method Detail |
public static ASListener getInstance()
throws Exception
Implementation of the singleton pattern
public void run()
run in interface Runnablestatic void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||