Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mrbook.mrpostman.help
Class HelpServer  view HelpServer download HelpServer.java

java.lang.Object
  extended byorg.mrbook.mrpostman.help.HelpServer
All Implemented Interfaces:
java.lang.Runnable

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


Field Summary
static java.lang.String CVSID
           
static int DEFAULT_PORT
           
protected  java.net.ServerSocket listenSocket
           
private static java.util.logging.Logger logger
           
protected  int port
           
 
Constructor Summary
HelpServer(int port)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVSID

public static final java.lang.String CVSID
See Also:
Constant Field Values

logger

private static java.util.logging.Logger logger

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

port

protected int port

listenSocket

protected java.net.ServerSocket listenSocket
Constructor Detail

HelpServer

public HelpServer(int port)
           throws java.io.IOException
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

main

public static void main(java.lang.String[] args)