net.commerce.zocalo.rpc
Class RPCServer
java.lang.Object
net.commerce.zocalo.rpc.RPCServer
public class RPCServer
- extends java.lang.Object
RPCServer provides an external API for agents to interact with the server.
The available abilities include trading shares on a market, opening and closing markets,
and depositing cash. Accessing this interface from a client requires using the
Apache web services xmlrpc library. (http://ws.apache.org/xmlrpc/)
The API typically gives a String response, starting with either "ERROR:" or "SUCCESS:",
followed by a human-readable response with details of the transaction or a reason for
the failure.
Created by: Jason Carver
Date: Jan 16, 2008
Edited by: Chris Hibbert starting June 15, 2009
Nested Class Summary |
static class |
RPCServer.RPCHandler
RPCHandler class specifies the namespace and actual interface available
for external XML-RPC calls |
Method Summary |
void |
run(java.lang.String portNumber)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPCServer
public RPCServer()
run
public void run(java.lang.String portNumber)