Back to index

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

A class to keep track of what we're trying to achieve in order to display that to the user if authentication is required. More...

Inheritance diagram for asyncconn.SemanticOperations:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def current_operation

Private Member Functions

def _begin_operation
def _end_operation

Private Attributes

 _operation_stack

Detailed Description

A class to keep track of what we're trying to achieve in order to display that to the user if authentication is required.

Definition at line 37 of file asyncconn.py.


Constructor & Destructor Documentation

Definition at line 38 of file asyncconn.py.

00038 
00039     def __init__ (self):
00040         self._operation_stack = []


Member Function Documentation

def asyncconn.SemanticOperations._begin_operation (   self,
  operation 
) [private]

Definition at line 41 of file asyncconn.py.

00041 
00042     def _begin_operation (self, operation):
00043         self._operation_stack.append (operation)

Definition at line 44 of file asyncconn.py.

00044 
00045     def _end_operation (self):
00046         self._operation_stack.pop ()

Definition at line 47 of file asyncconn.py.

00047 
00048     def current_operation (self):
00049         try:
00050             return self._operation_stack[0]
00051         except IndexError:
00052             return None


Member Data Documentation

Definition at line 39 of file asyncconn.py.


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