pyrolab.drivers.sample.SelectiveSampleService

pyrolab.drivers.sample.SelectiveSampleService#

class SelectiveSampleService(items: List[Any] = [])[source]#

Bases: Service

Not all functions of this service are exposed over Pyro5.

Maintains a list of items. Can be accessed via indexing, etc.

Parameters:
itemsList[Any]

A catalog of items.

Attributes:
attribute
items

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

item

objectid

set_item

sort