|
The Assimilation Monitoring Project
|
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 | |
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.
| def tests.cma_test.TestIO.__init__ | ( | self, | |
| addrframesetpairs, | |||
sleepatend = 0 |
|||
| ) |
Definition at line 247 of file tests/cma_test.py.
| 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 | ) |
Definition at line 288 of file tests/cma_test.py.
References tests.cma_test.TestIO.packetswritten, and cma.tests.cma_test.TestIO.packetswritten.
| 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.recvframesets | ( | self | ) |
Definition at line 258 of file tests/cma_test.py.
References tests.cma_test.auditalldrones(), tests.cma_test.auditallrings(), tests.cma_test.TestIO.index, cma.tests.cma_test.TestIO.index, tests.cma_test.TestIO.inframes, cma.tests.cma_test.TestIO.inframes, tests.cma_test.TestIO.packetsread, cma.tests.cma_test.TestIO.packetsread, tests.cma_test.TestIO.sleepatend, and cma.tests.cma_test.TestIO.sleepatend.

| def tests.cma_test.TestIO.sendframesets | ( | self, | |
| dest, | |||
| fslist | |||
| ) |
Definition at line 272 of file tests/cma_test.py.
References tests.cma_test.TestIO._sendaframeset(), cma.tests.cma_test.TestIO._sendaframeset(), tests.cma_test.TestIO.writecount, and cma.tests.cma_test.TestIO.writecount.

| def tests.cma_test.TestIO.setblockio | ( | self, | |
| tf | |||
| ) |
Definition at line 286 of file tests/cma_test.py.
| 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().