Class ApacheServer

  • All Implemented Interfaces:
    SampXmlRpcServer

    public class ApacheServer
    extends java.lang.Object
    implements SampXmlRpcServer
    SampXmlRpcServer implementation based on Apache XML-RPC library.
    Since:
    22 Aug 2008
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      ApacheServer()
      Constructs a new server starting up a new WebServer object.
      ApacheServer​(WebServer webServer, int port)
      Constructs a new server based on a given WebServer object.
    • Constructor Detail

      • ApacheServer

        public ApacheServer​(WebServer webServer,
                            int port)
        Constructs a new server based on a given WebServer object. Responsibility for starting the WebServer and performing any other required configuration lies with the caller.
        Parameters:
        webServer - apache xmlrpc webserver object
        port - port number on which the server is running
      • ApacheServer

        public ApacheServer()
                     throws java.io.IOException
        Constructs a new server starting up a new WebServer object. The server runs in a daemon thread.
        Throws:
        java.io.IOException