caproto.asyncio.server.VirtualCircuit

Inheritance diagram of VirtualCircuit
class caproto.asyncio.server.VirtualCircuit(circuit: VirtualCircuit, client: _TransportWrapper, context: Context, *, loop=None)[source]

Wraps a caproto.VirtualCircuit with an asyncio 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

client

context

circuit