Public Member Functions | Package Functions | Private Attributes | Static Private Attributes
org.ros.internal.node.server.XmlRpcServer Class Reference
Inheritance diagram for org.ros.internal.node.server.XmlRpcServer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void awaitStart () throws InterruptedException
boolean awaitStart (long timeout, TimeUnit unit) throws InterruptedException
InetSocketAddress getAddress ()
AdvertiseAddress getAdvertiseAddress ()
int getPid ()
URI getUri ()
void shutdown ()
 XmlRpcServer (BindAddress bindAddress, AdvertiseAddress advertiseAddress)

Package Functions

public< T extends
org.ros.internal.node.xmlrpc.XmlRpcEndpoint >
void 
start (Class< T > instanceClass, T instance)

Private Attributes

final AdvertiseAddress advertiseAddress
final WebServer server
final CountDownLatch startLatch

Static Private Attributes

static final boolean DEBUG = false
static final Log log = LogFactory.getLog(XmlRpcServer.class)

Detailed Description

Base class for an XML-RPC server.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 42 of file rosjava/src/main/java/org/ros/internal/node/server/XmlRpcServer.java.


Constructor & Destructor Documentation


Member Function Documentation

void org.ros.internal.node.server.XmlRpcServer.awaitStart ( ) throws InterruptedException [inline]
boolean org.ros.internal.node.server.XmlRpcServer.awaitStart ( long  timeout,
TimeUnit  unit 
) throws InterruptedException [inline]
Returns:
PID of node process if available, throws UnsupportedOperationException otherwise.

Reimplemented in org.ros.internal.node.server.SlaveServer.

Definition at line 132 of file rosjava/src/main/java/org/ros/internal/node/server/XmlRpcServer.java.

Returns:
the URI of the server

Definition at line 108 of file rosjava/src/main/java/org/ros/internal/node/server/XmlRpcServer.java.

Shut the remote call server down.

Reimplemented in org.ros.internal.node.server.SlaveServer.

Definition at line 101 of file rosjava/src/main/java/org/ros/internal/node/server/XmlRpcServer.java.

public<T extends org.ros.internal.node.xmlrpc.XmlRpcEndpoint> void org.ros.internal.node.server.XmlRpcServer.start ( Class< T >  instanceClass,
instance 
) [inline, package]

Start up the remote calling server.

Parameters:
instanceClassthe class of the remoting server
instancean instance of the remoting server class

Definition at line 73 of file rosjava/src/main/java/org/ros/internal/node/server/XmlRpcServer.java.


Member Data Documentation

final boolean org.ros.internal.node.server.XmlRpcServer.DEBUG = false [static, private]
final Log org.ros.internal.node.server.XmlRpcServer.log = LogFactory.getLog(XmlRpcServer.class) [static, private]

The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51