|
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.SPCcommsHTTP.SocketListenerHTTP
This class is listens to an HTTP socket connection and recieves messages. The recieved messages get passed to the SocketConnection this socket listener is associated with.
![]() |
![]() |
| Field Summary | |
(package private) java.net.Socket |
client
Socket to which this listener will listen to for messages. |
(package private) SocketConnectionHTTP |
connection
Socket connection class that this listener is associated with. |
(package private) java.io.InputStream |
in
This is the input stream from the socket connection. |
(package private) java.lang.Thread |
t1
Thread in which this listener will live in. |
| Constructor Summary | |
SocketListenerHTTP(java.net.Socket s,
SocketConnectionHTTP con)
Constructor |
|
| Method Summary | |
void |
run()
Run method that listens while the thread this class lives in exists. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.net.Socket client
SocketConnectionHTTP connection
java.io.InputStream in
java.lang.Thread t1
| Constructor Detail |
public SocketListenerHTTP(java.net.Socket s,
SocketConnectionHTTP con)
s - Socket - the socket this listener will isten to.con - SocketConnectionHTTP - Socket connection class this listener is associated with.| 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 | |||||||||