sends::dump_trans Class Reference
[Sends Pipeline Stage Classes]

Trash a transaction. More...

#include <dump_trans.hh>

Inheritance diagram for sends::dump_trans:

sends::seda_stage sends::thread_pool

List of all members.

Public Member Functions

 dump_trans (int nThread, int nTrans)
 Constructor.
void filter (transaction *trans)
 Stage filter.
const char * stage_name (void) const
 Stage name.


Detailed Description

Trash a transaction.

Dump_trans is a SEDA stage thatreleases the input transaction and returns the transaction object to the free transaction pool.

Author:
John Zweizig
Version:
1.0; Last modified January 23, 2008

Constructor & Destructor Documentation

sends::dump_trans::dump_trans ( int  nThread,
int  nTrans 
)

Constructor.

Construct a transaction dump stage.

Parameters:
nThread Number of thread in the pool.
nTrans Number of transactions to accept in the input queue.


Member Function Documentation

void sends::dump_trans::filter ( transaction trans  )  [virtual]

Stage filter.

Perform the stage processing. The input transaction is relased and returned to the transaction pool.

Parameters:
trans Transaction to be processed.

Implements sends::seda_stage.

const char* sends::dump_trans::stage_name ( void   )  const [virtual]

Stage name.

Return a constant pointer to a null-terminated character vector with the stage name.

Returns:
Pointer to the stage name string.

Implements sends::seda_stage.


The documentation for this class was generated from the following file:

Generated on Tue Jun 10 12:18:12 2008 for SENDS by  doxygen 1.5.5