Peach :: agent :: AgentPlexer :: Class AgentPlexer
[hide private]

Class AgentPlexer

source code

Will manage communication with one or more agent.

Instance Methods [hide private]
 
__init__(self) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key, value) source code
 
AddAgent(self, name, agentUri, password=None, pythonPath=None, imports=None) source code
 
OnTestStarting(self)
Called right before start of test.
source code
 
OnTestFinished(self)
Called right after a test.
source code
 
GetMonitorData(self)
Get any monitored data.
source code
 
DetectedFault(self)
Check if a fault was detected.
source code
 
OnFault(self)
Called when a fault was detected.
source code
 
OnShutdown(self)
Called when Agent is shutting down.
source code
 
StopRun(self)
Return True to force test run to fail.
source code
 
PublisherInitialize(self, name, cls, args) source code
 
PublisherStart(self, name) source code
 
PublisherStop(self, name) source code
 
PublisherAccept(self, name) source code
 
PublisherConnect(self, name) source code
 
PublisherClose(self, name) source code
 
PublisherCall(self, name, method, args) source code
 
PublisherProperty(self, name, property, value=None) source code
 
PublisherSend(self, name, data) source code
 
PublisherReceive(self, name, size=None) source code
Method Details [hide private]

StopRun(self)

source code 

Return True to force test run to fail. This should return True if an unrecoverable error occurs.