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

Public Member Functions

def __init__
 
def recvframesets
 
def sendframesets
 
def sendreliablefs
 
def ackmessage
 
def closeconn
 
def getmaxpktsize
 
def getfd
 
def bindaddr
 
def mcastjoin
 
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 250 of file cma/tests/cma_test.py.

Constructor & Destructor Documentation

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

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

Member Function Documentation

def cma.tests.cma_test.TestIO.ackmessage (   self,
  dest,
  fs 
)

Definition at line 288 of file cma/tests/cma_test.py.

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

Definition at line 301 of file cma/tests/cma_test.py.

def cma.tests.cma_test.TestIO.closeconn (   self,
  qid,
  dest 
)

Definition at line 291 of file cma/tests/cma_test.py.

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

Definition at line 305 of file cma/tests/cma_test.py.

References cma.tests.cma_test.TestIO.packetswritten.

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

Definition at line 300 of file cma/tests/cma_test.py.

def cma.tests.cma_test.TestIO.getmaxpktsize (   self)

Definition at line 299 of file cma/tests/cma_test.py.

def cma.tests.cma_test.TestIO.mcastjoin (   self,
  addr 
)

Definition at line 302 of file cma/tests/cma_test.py.

def cma.tests.cma_test.TestIO.recvframesets (   self)
def cma.tests.cma_test.TestIO.sendframesets (   self,
  dest,
  fslist 
)

Definition at line 279 of file cma/tests/cma_test.py.

References cma.tests.cma_test.TestIO._sendaframeset().

Referenced by cma.tests.cma_test.TestIO.sendreliablefs().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.tests.cma_test.TestIO.sendreliablefs (   self,
  dest,
  fslist 
)

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

References _NetGSource.sendframesets, cma.tests.cma_test.TestIO.sendframesets(), and cma.AssimCclasses.pyNetIO.sendframesets().

Here is the call graph for this function:

def cma.tests.cma_test.TestIO.setblockio (   self,
  tf 
)

Definition at line 303 of file cma/tests/cma_test.py.

Field Documentation

cma.tests.cma_test.TestIO.config

Definition at line 263 of file cma/tests/cma_test.py.

cma.tests.cma_test.TestIO.index
cma.tests.cma_test.TestIO.inframes
cma.tests.cma_test.TestIO.packetsread
cma.tests.cma_test.TestIO.packetswritten
cma.tests.cma_test.TestIO.sleepatend
cma.tests.cma_test.TestIO.writecount

Definition at line 262 of file cma/tests/cma_test.py.

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


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