|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.Comms.SPCcommsTCP.ServerSocketListener
This class is a server socket listener that listens to new connections. When it recieves a new connection it spawns a connection class.

| Field Summary | |
(package private) int |
port
Portn number to listen to for connections. |
(package private) java.net.ServerSocket |
server
This is the server socket that accepts connections. |
(package private) java.lang.Thread |
t1
Thread in which this listener will live listening for new connections. |
(package private) SPCcommsTCP |
tcpDriver
This is the driver that this listener listens for. |
| Constructor Summary | |
ServerSocketListener(int p,
SPCcommsTCP t)
|
|
| Method Summary | |
void |
run()
Listens to new connections. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int port
java.net.ServerSocket server
SPCcommsTCP tcpDriver
java.lang.Thread t1
| Constructor Detail |
public ServerSocketListener(int p,
SPCcommsTCP t)
| Method Detail |
public void run()
run in interface java.lang.Runnable
|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||