SecurePlayLibray J2SE
v2.1

com.SecurePlay.Comms.SPCcommsTCP
Class ServerSocketListener

java.lang.Object
  extended bycom.SecurePlay.Comms.SPCcommsTCP.ServerSocketListener
All Implemented Interfaces:
java.lang.Runnable

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

This class is a server socket listener that listens to new connections. When it recieves a new connection it spawns a connection class.

Author:
IT GlobalSecure
See Also:
SecurePlay License Information
 

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

port

int port
Portn number to listen to for connections.


server

java.net.ServerSocket server
This is the server socket that accepts connections.


tcpDriver

SPCcommsTCP tcpDriver
This is the driver that this listener listens for.


t1

java.lang.Thread t1
Thread in which this listener will live listening for new connections.

Constructor Detail

ServerSocketListener

public ServerSocketListener(int p,
                            SPCcommsTCP t)
Method Detail

run

public void run()
Listens to new connections.

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.