SecurePlayLibray J2SE
v2.1

com.SecurePlay.Comms.SPCcommsHTTP
Class SocketListenerHTTP

java.lang.Object
  extended bycom.SecurePlay.Comms.SPCcommsHTTP.SocketListenerHTTP
All Implemented Interfaces:
java.lang.Runnable

public class SocketListenerHTTP
extends java.lang.Object
implements java.lang.Runnable

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.

Author:
IT GlobalSecure
See Also:
SecurePlay License Information
 

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

client

java.net.Socket client
Socket to which this listener will listen to for messages.


connection

SocketConnectionHTTP connection
Socket connection class that this listener is associated with.


in

java.io.InputStream in
This is the input stream from the socket connection.


t1

java.lang.Thread t1
Thread in which this listener will live in.

Constructor Detail

SocketListenerHTTP

public SocketListenerHTTP(java.net.Socket s,
                          SocketConnectionHTTP con)
Constructor

Parameters:
s - Socket - the socket this listener will isten to.
con - SocketConnectionHTTP - Socket connection class this listener is associated with.
Method Detail

run

public void run()
Run method that listens while the thread this class lives in exists.

Specified by:
run in interface java.lang.Runnable

SecurePlayLibray J2SE
v2.1

2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.