All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class webwisdom.tango.server.TangoServer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----webwisdom.tango.server.TangoServer

public final class TangoServer
extends Thread
Tango server.


Constructor Index

 o TangoServer(int)

Method Index

 o main(String[])
Runs the server at the given port.
 o run()
Starts server.
 o toString()

Constructors

 o TangoServer
 public TangoServer(int p) throws IOException
Parameters:
p - port on which the server is to listen for clients
Throws: IOException
if cannot start service at the given port

Methods

 o run
 public void run()
Starts server.

Overrides:
run in class Thread
 o toString
 public String toString()
Overrides:
toString in class Thread
 o main
 public static void main(String args[])
Runs the server at the given port. Logs monitoring messages in the specified file. Should be called with 2 parameters: port number, and log file.


All Packages  Class Hierarchy  This Package  Previous  Next  Index