pyrolab.service.Service

Contents

pyrolab.service.Service#

class Service[source]#

Bases: object

Abstract base class provides a common interface for services and instruments.

Not a true abstract base class, but adds some necessary and convenient functions inherited by any class that would like to be a PyroLab service.

Methods

ping()

Returns a bool (True) to indicate that the Daemon is alive and can be communicated with.

pyrolab_version()

Return the version of PyroLab running the device.

set_behavior([instance_mode, instance_creator])

Sets the Pyro5 behavior for the class (modified in place).