All Packages  This Package  Class Hierarchy  Class Search  Index

Inner Class edu.utah.janos.nodeos.pj_TCPStreamLayer.TCPStreamAcceptor
java.lang.Object
   |
   +----edu.utah.janos.nodeos.pj_TCPStreamLayer.TCPStreamAcceptor

  Summary

static class  pj_TCPStreamLayer.TCPStreamAcceptor
     extends java.lang.Object
     implements java.lang.Runnable
{
          // Fields 4
     ServerSocket acceptor;
     boolean dying;
     final pj_PacketHandlerList masks;
     final Vector readers;

          // Constructors 1
     TCPStreamAcceptor(int) throws IOException;

          // Methods 1
     public void run();
}

TCPStreamAcceptor is used to accept connections on a tcp port and then start a reader thread for the new connection.




  Fields

· masks

Summary  |  Top

   final pj_PacketHandlerList masks

The list of masks that match this source port


· acceptor

Summary  |  Top
   ServerSocket acceptor

The socket to listen to


· dying

Summary  |  Top
   boolean dying

Indicates whether we're alive and should continue listening for more connections


· readers

Summary  |  Top
   final Vector readers

The set of readers that we've spawned for each new connection


  Constructors

· TCPStreamAcceptor

Summary  |  Top

   TCPStreamAcceptor(int port)  throws IOException


  Methods

· run

Summary  |  Top
   public void run() 
Implements:
run in interface Runnable


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7