org.iids.aos.systemservices.communicator
Class XmlRpcLSWebServer
java.lang.Object
org.iids.aos.systemservices.communicator.LSWebServer
org.iids.aos.systemservices.communicator.XmlRpcLSWebServer
- All Implemented Interfaces:
- java.lang.Runnable
public class XmlRpcLSWebServer
- extends LSWebServer
- Author:
- hidde@cs.vu.nl
| Fields inherited from class org.iids.aos.systemservices.communicator.LSWebServer |
accept, clength, conclose, conkeep, csstype, ctype, deny, doubleNewline, giftype, htype, jstype, listener, newline, ok, ptype, runners, server, serverSocket, wwwAuthenticate, xmlrpc |
|
Method Summary |
protected java.net.ServerSocket |
createServerSocket(int i,
int i1,
java.net.InetAddress inetAddress)
Factory method to manufacture the server socket. |
int |
getListenPort()
|
void |
setListenPort(int listenPort)
|
void |
shutdownHard()
Close forcefully, used for testing IPC errors |
| Methods inherited from class org.iids.aos.systemservices.communicator.LSWebServer |
acceptClient, addDefaultHandlers, addHandler, allowConnection, checkSocket, denyClient, determinePort, getRunner, main, removeHandler, run, setHttpMethod, setParanoid, shutdown, start, toHTTPBytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcLSWebServer
public XmlRpcLSWebServer(int i)
XmlRpcLSWebServer
public XmlRpcLSWebServer(int i,
java.net.InetAddress inetAddress)
XmlRpcLSWebServer
public XmlRpcLSWebServer(int i,
java.net.InetAddress inetAddress,
org.apache.xmlrpc.XmlRpcServer xmlRpcServer)
createServerSocket
protected java.net.ServerSocket createServerSocket(int i,
int i1,
java.net.InetAddress inetAddress)
throws java.lang.Exception
- Description copied from class:
LSWebServer
- Factory method to manufacture the server socket. Useful as a
hook method for subclasses to override when they desire
different flavor of socket (i.e. a
SSLServerSocket).
- Overrides:
createServerSocket in class LSWebServer
inetAddress - If null, binds to
INADDR_ANY, meaning that all network interfaces on
a multi-homed host will be listening.
- Throws:
java.lang.Exception - Error creating listener socket.
getListenPort
public int getListenPort()
setListenPort
public void setListenPort(int listenPort)
shutdownHard
public void shutdownHard()
- Close forcefully, used for testing IPC errors
Copyright ? 2003, 2004 IIDS Group. All Rights Reserved.