caproto.curio.server.VirtualCircuit

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

Wraps a caproto.VirtualCircuit with a curio client.

Methods

command_queue_loop()

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()

Attributes

circuit