/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
EventLooper::async::AsyncMethod Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 name
 number
 outbox
 callback

Detailed Description


A callable that stands in for a method.

Definition at line 24 of file async.py.


Constructor & Destructor Documentation

def EventLooper::async::AsyncMethod::__init__ (   self,
  name,
  number,
  outbox 
)

Definition at line 31 of file async.py.

00032                                             :
00033         self.name = name
00034         self.number = number
00035         self.outbox = outbox
00036         self.callback = None
00037         #print 'AsyncMethod "%s" stacked'%name
00038         return


Member Function Documentation

def EventLooper::async::AsyncMethod::__call__ (   self,
  callback,
  args,
  kwds 
)

Definition at line 39 of file async.py.

00040                                                :
00041         if self.callback:
00042             msg = 'This instance of the %s method has already been caled'
00043             raise AttributeError, msg % self.name
00044         self.callback = callback
00045         self.outbox.put((self.name, self.number, args, kwds))
00046         return
00047 


Member Data Documentation

Definition at line 31 of file async.py.

Definition at line 31 of file async.py.

Definition at line 31 of file async.py.

Definition at line 31 of file async.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:15 for EventLooper by doxygen 1.7.4