mahos.inst.server.InstrumentServer#
- class mahos.inst.server.InstrumentServer(gconf: dict, name, context=None, include=None, exclude=None)#
Instrument RPC Server.
Provides RPC services for instruments. Communication is done by REQ/REP pattern. Multiple clients can use the resource. Each client can lock some instruments for exclusive procedure execution.
- __init__(gconf: dict, name, context=None, include=None, exclude=None)#
Methods
__init__
(gconf, name[, context, include, ...])close_resources
()Close custom resources.
handle_req
(msg)main
()Main procedure that will be looped.
Attributes