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.
-
TangoServer(int)
-
-
main(String[])
- Runs the server at the given port.
-
run()
- Starts server.
-
toString()
-
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
run
public void run()
- Starts server.
- Overrides:
- run in class Thread
toString
public String toString()
- Overrides:
- toString in class Thread
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