|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ami.AMIListener
AMI Server side. Listens for incoming packets and transmits sockets to AMIReaders
Singleton
Field Summary | |
private static AMIListener |
al
Self instance used for signleton pattern |
(package private) 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 |
(package private) static Vector |
vReader
AMIReader vector |
Constructor Summary | |
private |
AMIListener()
Default constructor, thread auto-start |
Method Summary | |
static AMIListener |
getInstance()
Return a self instance Implementation of the singleton pattern |
void |
run()
Run method |
(package private) void |
stop()
Finalize the ami listener |
Methods inherited from class java.lang.Object |
|
Field Detail |
Thread t
static Vector vReader
static ServerSocket ss
volatile boolean bStop
private static AMIListener al
Constructor Detail |
private AMIListener()
Method Detail |
public static AMIListener getInstance()
Implementation of the singleton pattern
public void run()
run
in interface Runnable
void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |