rpc

COMPAS runs in many different environments, but in some environments the availablity of libraries is limited. For example, when running COMPAS in an IronPython-based environment like Rhino/Grasshopper, plenty of CPython libraries such as numpy and scipy are not available.

To workaround this limitation, COMPAS provides a mechanisms to access the functionality of a CPython environment seemlessly from any other Python environment through a Remote Procedure Call or RPC.

Classes

Dispatcher

Base class for remote services.

Proxy

Create a proxy object as intermediary between client code and remote functionality.

Server

Version of a SimpleXMLRPCServer that can be cleanly terminated from the client side.

Exceptions

RPCClientError

RPCServerError