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

Inherits object.

Collaboration diagram for MethodProxy:
Collaboration graph

Public Member Functions

def __init__ (self, name, send, recv)
 
def __call__ (self, args, kwargs)
 

Public Attributes

 name
 
 send
 
 recv
 

Detailed Description

A proxy type for a method of an object hosted remotely. When called, a message containing the name of the
method and the given arguments is sent down the send Connection object, and the result is collected from the
recv object. This assumes that all arguments and return values are picklable and that a server object is present
at the receiver's end to receive the method message and execute response behaviour.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  send,
  recv 
)

Member Function Documentation

◆ __call__()

def __call__ (   self,
  args,
  kwargs 
)

Member Data Documentation

◆ name

name

◆ recv

recv

◆ send

send

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