xsul.dispatcher
Class Dispatcher

java.lang.Object
  extended byxsul.http_server.HttpMiniServlet
      extended byxsul.dispatcher.Dispatcher

public class Dispatcher
extends HttpMiniServlet

THis class will start RPC and MSG dispatchers and MsgBox service as well All services are started on the same port but on different paths.


Constructor Summary
Dispatcher(int port)
           
 
Method Summary
static void main(java.lang.String[] args)
          Start the RPC Dispacher.
 void service(HttpServerRequest req, HttpServerResponse resp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatcher

public Dispatcher(int port)
Method Detail

main

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

Start the RPC Dispacher.

To configure it, use the default.properties file.

Parameters:
args - no arguments used.

service

public void service(HttpServerRequest req,
                    HttpServerResponse resp)
             throws HttpServerException
Specified by:
service in class HttpMiniServlet
Throws:
HttpServerException


IU Extreme! Lab (http://www.extreme.indiana.edu)