caproto.trio.server.VirtualCircuit

Inheritance diagram of VirtualCircuit
class caproto.trio.server.VirtualCircuit(circuit, client: caproto.trio.server.TrioSocketStreamCompat, context)[source]

Wraps a caproto.VirtualCircuit with a trio client.

Methods

command_queue_loop(task_status)

Reference implementation of the command queue loop

get_from_sub_queue([timeout])

recv()

Receive bytes over TCP and cache them in this circuit’s buffer.

run()

send(*commands)

Process a command and tranport it over the TCP socket for this circuit.

subscription_queue_loop(task_status)