The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tests.cma_test.TestIO Class Reference

Public Member Functions

def __init__
 
def recvframesets
 
def sendframesets
 
def getmaxpktsize
 
def getfd
 
def bindaddr
 
def setblockio
 
def dumppackets
 

Data Fields

 inframes
 
 packetswritten
 
 packetsread
 
 sleepatend
 
 index
 
 writecount
 
 config
 

Detailed Description

A pyNetIOudp replacement for testing.  It is given a list of packets to be 'read' and in turn
saves all the packets it 'writes' for us to inspect.

Definition at line 243 of file tests/cma_test.py.

Constructor & Destructor Documentation

def tests.cma_test.TestIO.__init__ (   self,
  addrframesetpairs,
  sleepatend = 0 
)

Definition at line 247 of file tests/cma_test.py.

Member Function Documentation

def tests.cma_test.TestIO.bindaddr (   self,
  addr 
)

Definition at line 285 of file tests/cma_test.py.

def tests.cma_test.TestIO.dumppackets (   self)
def tests.cma_test.TestIO.getfd (   self)

Definition at line 284 of file tests/cma_test.py.

def tests.cma_test.TestIO.getmaxpktsize (   self)

Definition at line 283 of file tests/cma_test.py.

def tests.cma_test.TestIO.sendframesets (   self,
  dest,
  fslist 
)
def tests.cma_test.TestIO.setblockio (   self,
  tf 
)

Definition at line 286 of file tests/cma_test.py.

Field Documentation

tests.cma_test.TestIO.config

Definition at line 256 of file tests/cma_test.py.

tests.cma_test.TestIO.index

Definition at line 254 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.recvframesets().

tests.cma_test.TestIO.inframes

Definition at line 250 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.recvframesets().

tests.cma_test.TestIO.packetsread

Definition at line 252 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.recvframesets().

tests.cma_test.TestIO.packetswritten

Definition at line 251 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.dumppackets().

tests.cma_test.TestIO.sleepatend

Definition at line 253 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.recvframesets().

tests.cma_test.TestIO.writecount

Definition at line 255 of file tests/cma_test.py.

Referenced by tests.cma_test.TestIO.sendframesets().


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