BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
microscope.testsuite.test_client.PyroService Class Reference

Public Member Functions

def __init__ (self)
 
def attr (self)
 
def attr (self, value)
 

Detailed Description

Simple class to test serving via Pyro.

We can use one of our own test devices but the idea is to have
this tests independent from the devices.  We should be able to
test the Client with any Python object and weird cases, even if we
don't yet make use of them in the devices.

Definition at line 30 of file test_client.py.

Constructor & Destructor Documentation

◆ __init__()

def microscope.testsuite.test_client.PyroService.__init__ (   self)

Definition at line 39 of file test_client.py.

39 def __init__(self):
40 self._value = 42 # not exposed
41

Member Function Documentation

◆ attr() [1/2]

def microscope.testsuite.test_client.PyroService.attr (   self)

Definition at line 43 of file test_client.py.

43 def attr(self): # exposed as 'proxy.attr' remote attribute
44 return self._value
45

◆ attr() [2/2]

def microscope.testsuite.test_client.PyroService.attr (   self,
  value 
)

Definition at line 47 of file test_client.py.

47 def attr(self, value): # exposed as 'proxy.attr' writable
48 self._value = value
49
50
51@Pyro4.expose

The documentation for this class was generated from the following file: