crossbar.worker.transport¶
Classes¶
A (listening) transport running on a router worker. |
|
Web transport or Universal transport with Web sub-service. |
|
Services shared between RouterController and ProxyController |
Functions¶
|
Factory for creating router (listening) transports. |
Module Contents¶
- class RouterTransport(worker, transport_id, config)[source]¶
Bases:
objectA (listening) transport running on a router worker.
- property config[source]¶
The original configuration as supplied to this router transport.
- Type:
return
- property created[source]¶
When this transport was created (the run-time, in-memory object instantiated).
- Type:
return
- start(start_children=False, ignore=[])[source]¶
Start this transport (starts listening on the respective network listening port).
- Parameters:
start_children
- Returns:
- class RouterWebTransport(worker, transport_id, config)[source]¶
Bases:
RouterTransportWeb transport or Universal transport with Web sub-service.
- class TransportController(config=None, reactor=None, personality=None)[source]¶
Bases:
crossbar.worker.controller.WorkerControllerServices shared between RouterController and ProxyController
- start_web_transport_service(transport_id, path, config, details=None)[source]¶
Start a service on a Web transport.
- Parameters:
transport_id (str) – The ID of the transport to start the Web transport service on.
path (str) – The path (absolute URL, eg “/myservice1”) on which to start the service.
config (dict) – The Web service configuration.
details (
autobahn.wamp.types.CallDetails) – Call details.
- stop_web_transport_service(transport_id, path, details=None)[source]¶
Stop a service on a Web transport.
- Parameters:
transport_id (str) – The ID of the transport to stop the Web transport service on.
path (str) – The path (absolute URL, eg “/myservice1”) of the service to stop.
details (
autobahn.wamp.types.CallDetails) – Call details.