Package org.ros.internal.node.server
Class XmlRpcServer
java.lang.Object
org.ros.internal.node.server.XmlRpcServer
- Direct Known Subclasses:
MasterServer,SlaveServer
Base class for an XML-RPC server.
- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanawaitStart(long timeout, TimeUnit unit) intgetPid()getUri()voidshutdown()Shut the remote call server down.<T extends XmlRpcEndpoint>
voidStart up the remote calling server.
-
Constructor Details
-
XmlRpcServer
-
-
Method Details
-
start
Start up the remote calling server.- Parameters:
instanceClass- the class of the remoting serverinstance- an instance of the remoting server class
-
shutdown
public void shutdown()Shut the remote call server down. -
getUri
- Returns:
- the
URIof the server
-
getAddress
-
getAdvertiseAddress
-
awaitStart
- Throws:
InterruptedException
-
awaitStart
- Throws:
InterruptedException
-
getPid
public int getPid()- Returns:
- PID of node process if available, throws
UnsupportedOperationExceptionotherwise.
-