Back to index

system-config-printer  1.3.9+20120706
Public Member Functions | Private Attributes
asyncconn.Test Class Reference

List of all members.

Public Member Functions

def __init__
def __del__
def destroy
def getDevices
def getDevices_reply
def getDevices_error

Private Attributes

 _conn
 _quit

Detailed Description

Definition at line 232 of file asyncconn.py.


Constructor & Destructor Documentation

def asyncconn.Test.__init__ (   self,
  quit 
)

Definition at line 233 of file asyncconn.py.

00233 
00234         def __init__ (self, quit):
00235             self._conn = Connection ()
00236             self._quit = quit
00237             debugprint ("+%s" % self)

def asyncconn.Test.__del__ (   self)

Definition at line 238 of file asyncconn.py.

00238 
00239         def __del__ (self):
00240             debug.debugprint ("-%s" % self)


Member Function Documentation

def asyncconn.Test.destroy (   self)

Definition at line 241 of file asyncconn.py.

00241 
00242         def destroy (self):
00243             debugprint ("DESTROY: %s" % self)
00244             self._conn.destroy ()
00245             if self._quit:
00246                 loop.quit ()

Here is the caller graph for this function:

def asyncconn.Test.getDevices (   self)

Definition at line 247 of file asyncconn.py.

00247 
00248         def getDevices (self):
00249             self._conn.getDevices (reply_handler=self.getDevices_reply,
00250                                    error_handler=self.getDevices_error)

Here is the call graph for this function:

def asyncconn.Test.getDevices_error (   self,
  conn,
  exc 
)

Definition at line 255 of file asyncconn.py.

00255 
00256         def getDevices_error (self, conn, exc):
00257             print repr (exc)
00258             self.destroy ()
00259 
    t = Test (False)

Here is the call graph for this function:

Here is the caller graph for this function:

def asyncconn.Test.getDevices_reply (   self,
  conn,
  result 
)

Definition at line 251 of file asyncconn.py.

00251 
00252         def getDevices_reply (self, conn, result):
00253             print conn, result
00254             self.destroy ()

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 234 of file asyncconn.py.

Definition at line 235 of file asyncconn.py.


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