crossbar.node.native

Functions

create_native_worker_client_factory(...)

Create a transport factory for talking to native workers.

Module Contents

create_native_worker_client_factory(router_session_factory, authrole, on_ready, on_exit)[source]

Create a transport factory for talking to native workers.

The node controller talks WAMP-WebSocket-over-STDIO with spawned (native) workers.

The node controller runs a client transport factory, and the native worker runs a server transport factory. This is a little non-intuitive, but just the way that Twisted works when using STDIO transports.

Parameters:

router_session_factory (crossbar.router.session.RouterSessionFactory) – Router session factory to attach to.