secop_ophyd.AsyncFrappyClient#

Module Contents#

Classes#

AsyncSecopClient

Native asyncio SECoP client — no asyncio.to_thread() calls.

Data#

T

API#

secop_ophyd.AsyncFrappyClient.T = 'TypeVar(...)'#
class secop_ophyd.AsyncFrappyClient.AsyncSecopClient(host: str, port: str, log=Logger)[source]#

Bases: frappy.client.ProxyClient

Native asyncio SECoP client — no asyncio.to_thread() calls.

Initialization

reconnect_timeout = 10#
PREDEFINED_NAMES = 'set(...)'#
handleError(exc)[source]#
internalize_name(name)[source]#
updateValue(module, param, value, timestamp, readerror)[source]#
async request(action, ident=None, data=None)[source]#

Send a request and await the reply, bridging event loops if needed.

async connect(try_period=0)[source]#
async disconnect(shutdown=True)[source]#
async get_parameter(module, parameter, trycache=False) → frappy.client.CacheItem[source]#
async set_parameter(module, parameter, value) → frappy.client.CacheItem[source]#
async exec_command(module, command, argument=None) → tuple[Any, dict][source]#