dsnserver
Class XmlRpcServer

java.lang.Object
  extended by dsnserver.XmlRpcServer

public class XmlRpcServer
extends java.lang.Object

This is the XmlRpc server which starts a webserver that is listenig on a port which we can define. All function we will use with the XmlRpc have to be added to the server with server.addHandler(). The XmlRpcServer has to be started in a main function. it has to look lake that: XmlRpcServer server = new XmlRpcServer(Integer.parseInt(GetProperty.get("xmlRpcPort")));
server.run();

Author:
kaltt

Field Summary
(package private)  Communication myComm
           
(package private) static int port
           
(package private) static org.apache.xmlrpc.WebServer server
           
 
Constructor Summary
XmlRpcServer(int port, Communication comm)
           
 
Method Summary
 void run()
          main method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

static org.apache.xmlrpc.WebServer server

port

static int port

myComm

Communication myComm
Constructor Detail

XmlRpcServer

public XmlRpcServer(int port,
                    Communication comm)
Method Detail

run

public void run()
         throws java.lang.Exception
main method

Throws:
java.lang.Exception