gov.sns.tools.services
Class RpcServer

java.lang.Object
  |
  +--org.apache.xmlrpc.WebServer
        |
        +--gov.sns.tools.services.RpcServer
All Implemented Interfaces:
java.lang.Runnable

public class RpcServer
extends org.apache.xmlrpc.WebServer

RpcServer extends XML-RPC WebServer to find and use an open port rather than taking a port as an argument.


Field Summary
 
Fields inherited from class org.apache.xmlrpc.WebServer
accept, clength, conclose, conkeep, ctype, deny, doubleNewline, listener, newline, ok, paranoid, port, runners, server, serverSocket, threadpool, xmlrpc
 
Constructor Summary
RpcServer()
          Creates a new instance of RemoteServer
 
Method Summary
 java.lang.String getHost()
          Get the host address used for the web server.
 int getPort()
          Get the port used by the web server.
 
Methods inherited from class org.apache.xmlrpc.WebServer
acceptClient, addHandler, checkSocket, createServerSocket, denyClient, getRunner, main, removeHandler, run, setParanoid, setupServerSocket, shutdown, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcServer

public RpcServer()
          throws java.io.IOException
Creates a new instance of RemoteServer

Method Detail

getPort

public int getPort()
Get the port used by the web server.

Returns:
The port used by the web server.

getHost

public java.lang.String getHost()
Get the host address used for the web server.

Returns:
The host address used for the web server.