proactor.server
Class Server

java.lang.Object
  extended by proactor.server.Server
All Implemented Interfaces:
ProactorInitiator

public class Server
extends java.lang.Object
implements ProactorInitiator


Constructor Summary
Server()
          Create a new Server, default port is 9876.
Server(int port)
          Create a new Server listening of the specified port.
 
Method Summary
protected  void loop()
          Event loop.
static void main(java.lang.String[] args)
          Start the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
Create a new Server, default port is 9876.


Server

public Server(int port)
Create a new Server listening of the specified port.

Parameters:
port -
Method Detail

loop

protected void loop()
Event loop.


main

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

Parameters:
args -