Eidolon
Public Member Functions | Public Attributes | List of all members
ObjectServer Class Reference

Inherits object.

Collaboration diagram for ObjectServer:
Collaboration graph

Public Member Functions

def __init__ (self)
 
def getProxy (self, obj)
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, tb)
 
def stop (self)
 
def reset (self)
 
def runProxy (self, obj, proxy)
 

Public Attributes

 objmap
 
 doRun
 
 threads
 

Detailed Description

ObjectServer creates picklable proxies for given objects and instantiates threads to operate the proxies' interactions.
This allows objects to be proxied to separate processes which can call these objects' methods and interact with them using
other picklable objects. Proxies must not be shared by processes and it is the proxied object's responsibility to ensure
concurrent safety. This class uses DynamicProxy and MethodProxy to implement this behaviour.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ __enter__()

def __enter__ (   self)

◆ __exit__()

def __exit__ (   self,
  exc_type,
  exc_value,
  tb 
)
Here is the call graph for this function:

◆ getProxy()

def getProxy (   self,
  obj 
)
Here is the call graph for this function:

◆ reset()

def reset (   self)
Here is the call graph for this function:

◆ runProxy()

def runProxy (   self,
  obj,
  proxy 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

def stop (   self)
Here is the caller graph for this function:

Member Data Documentation

◆ doRun

doRun

◆ objmap

objmap

◆ threads

threads

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