Peach :: Agent :: network :: PcapMonitor :: Class PcapMonitor
[hide private]

Class PcapMonitor

source code


Monitor network using pcap library.

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
OnTestStarting(self)
Called right before start of test case or variation
source code
 
OnTestFinished(self)
Called right after a test case or varation
source code
 
GetMonitorData(self)
Get any monitored data from a test case.
source code
 
OnShutdown(self)
Called when Agent is shutting down, typically at end of a test run or when a Stop-Run occurs
source code

Inherited from agent.Monitor: DetectedFault, OnFault, StopRun

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Constructor. Arguments are supplied via the Peach XML file.

Parameters:
  • args - Dictionary of parameters
Overrides: agent.Monitor.__init__
(inherited documentation)

OnTestStarting(self)

source code 

Called right before start of test case or variation

Overrides: agent.Monitor.OnTestStarting
(inherited documentation)

OnTestFinished(self)

source code 

Called right after a test case or varation

Overrides: agent.Monitor.OnTestFinished
(inherited documentation)

GetMonitorData(self)

source code 

Get any monitored data from a test case.

Overrides: agent.Monitor.GetMonitorData
(inherited documentation)

OnShutdown(self)

source code 

Called when Agent is shutting down, typically at end of a test run or when a Stop-Run occurs

Overrides: agent.Monitor.OnShutdown
(inherited documentation)