spocket_tester Class Reference

#include <spocket_tester.h>

Collaboration diagram for spocket_tester:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 spocket_tester (const sockets::internet_address &where)
 ~spocket_tester ()
bool connect ()
bool accept (bool wait=true)
bool do_a_send (basis::abyte *buffer, int size, testing_statistics &stats)
bool do_a_receive (int size_expected, testing_statistics &stats)
bool perform_test (int size, int count, testing_statistics &stats_to_fill)

Detailed Description

Definition at line 43 of file spocket_tester.h.


Constructor & Destructor Documentation

spocket_tester::spocket_tester ( const sockets::internet_address where  ) 

Definition at line 61 of file spocket_tester.cpp.

spocket_tester::~spocket_tester (  ) 

Definition at line 70 of file spocket_tester.cpp.

References basis::WHACK().


Member Function Documentation

bool spocket_tester::accept ( bool  wait = true  ) 

Definition at line 94 of file spocket_tester.cpp.

References sockets::spocket::accept(), and LOG.

bool spocket_tester::connect (  ) 

Definition at line 79 of file spocket_tester.cpp.

References sockets::spocket::connect().

bool spocket_tester::do_a_receive ( int  size_expected,
testing_statistics stats 
)
bool spocket_tester::do_a_send ( basis::abyte buffer,
int  size,
testing_statistics stats 
)

Referenced by perform_test().

bool spocket_tester::perform_test ( int  size,
int  count,
testing_statistics stats_to_fill 
)

The documentation for this class was generated from the following files:
Generated on Sat Jan 28 04:25:10 2012 for hoople2 project by  doxygen 1.6.3