Weevil Workload Generation Library C++ API documentation (v. 1.0.1)

Main Page | Class List | Class Members

Actor Interface Reference

List of all members.

Public Member Functions

void action (String arg)

Package Functions

void stop ()

Detailed Description

a generic client workload actor

This interface implements a generic client actor who will translate a workload line into system commands and send it to the system.

This interface should be implemented in your system specific client workload actor.


Member Function Documentation

void Actor::action String  arg  ) 
 

This method defines the actions for each kind of workload

In your derived class, you must provide method definition for this method. In the method implementation, you need to parse this workload line, and specify the system specific commands according to the type of this workload line.

Parameters:
arg represents a line of workload

void Actor::stop  )  [package]
 

This method defines the actor's action when it finishes the whole workload

In your derived class, you must provide method definition for this method. In the method implementation, you could specify some actions to conduct when the client finishes the workload.


The documentation for this interface was generated from the following file:
Copyright © 2002-2004 University of Colorado.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". This documentation is authored and maintained by Yanyan Wang