org.apache.jdo.impl.fostore
Class Main.ConnectionRunnable

java.lang.Object
  extended byorg.apache.jdo.impl.fostore.Main.ConnectionRunnable
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Main

class Main.ConnectionRunnable
extends java.lang.Object
implements java.lang.Runnable

The Runnable class for incoming connections.


Field Summary
(package private)  java.net.Socket socket
          The Socket that received an incoming request.
 
Constructor Summary
(package private) Main.ConnectionRunnable(java.net.Socket conn)
          The Runnable class for incoming connections.
 
Method Summary
 void run()
          Run the Connection Thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

java.net.Socket socket
The Socket that received an incoming request.

Constructor Detail

Main.ConnectionRunnable

Main.ConnectionRunnable(java.net.Socket conn)
The Runnable class for incoming connections.

Parameters:
conn - the socket which received a connection request.
Method Detail

run

public void run()
Run the Connection Thread. This handles the incoming connection in the handleConnection method.

Specified by:
run in interface java.lang.Runnable