Base class for packet capture and replay capability. Assumes that the
other classes provide the following: self.buildOptions()
self.sendEvent()
Overrides the self.connected() method if called to replay packets.
|
processCaptureReplayOptions(self)
Inside of the initializing class, call these functions first. |
source code
|
|
|
convertPacketToPython(*packetInfo)
Convert arguments into an plain object (no functions) suitable for
pickling. |
source code
|
|
|
|
|
replayAll(self)
Replay all captured packets using the files specified in the
--replayFilePrefix option and then exit. |
source code
|
|
|
|
|
|
|
replayStop(self)
Twisted method that we use to override the default stop() method for
when we are replaying packets. |
source code
|
|
|
buildCaptureReplayOptions(self,
parser)
This should be called explicitly in the base class' buildOptions |
source code
|
|