caproto.asyncio.server.Context¶

- class caproto.asyncio.server.Context(pvdb, interfaces=None, *, loop=None)[source]¶
- Methods - broadcast_beacon_loop()- broadcaster_queue_loop()- Reference broadcaster queue loop implementation - broadcaster_receive_loop()- circuit_disconnected(circuit)- Notification from circuit that its connection has closed - run(*[, log_pv_names, startup_hook])- Start the server - server_accept_loop(sock)- Start a TCP server on sock and listen for new connections. - stop()- subscription_queue_loop()- Reference implementation of the subscription queue loop - tcp_handler(client, addr)- Handler for each new TCP client to the server - Attributes - async_layer- pvdb_with_fields- Dynamically generated each time - use sparingly - shutdown_methods- Notify all ChannelData instances of the server shutdown - startup_methods- Notify all ChannelData instances of the server startup - subscriptions