Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_telnetlib.nego_collector Class Reference
Inheritance diagram for test.test_telnetlib.nego_collector:
Inheritance graph
[legend]
Collaboration diagram for test.test_telnetlib.nego_collector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def do_nego

Public Attributes

 seen
 sb_getter
 sb_seen
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 246 of file test_telnetlib.py.


Constructor & Destructor Documentation

def test.test_telnetlib.nego_collector.__init__ (   self,
  sb_getter = None 
)

Definition at line 247 of file test_telnetlib.py.

00247 
00248     def __init__(self, sb_getter=None):
00249         self.seen = b''
00250         self.sb_getter = sb_getter
00251         self.sb_seen = b''

Here is the caller graph for this function:


Member Function Documentation

def test.test_telnetlib.nego_collector.do_nego (   self,
  sock,
  cmd,
  opt 
)

Definition at line 252 of file test_telnetlib.py.

00252 
00253     def do_nego(self, sock, cmd, opt):
00254         self.seen += cmd + opt
00255         if cmd == tl.SE and self.sb_getter:
00256             sb_data = self.sb_getter()
00257             self.sb_seen += sb_data


Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 249 of file test_telnetlib.py.

Definition at line 250 of file test_telnetlib.py.

Definition at line 248 of file test_telnetlib.py.


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