nidas  v1.2-1520
Public Member Functions | Public Attributes | List of all members
TestClient Class Referenceabstract
Inheritance diagram for TestClient:
Inheritance graph
[legend]

Public Member Functions

 TestClient ()
 
bool receive (const Sample *s) throw ()
 Method called to pass a sample to this client. More...
 
virtual void flush ()=0 throw ()
 Ask that this SampleClient send out any buffered Samples that it may be holding. More...
 

Public Attributes

int nsamples
 

Constructor & Destructor Documentation

TestClient::TestClient ( )
inline

Member Function Documentation

virtual void nidas::core::SampleClient::flush ( )
throw (
)
pure virtualinherited
bool TestClient::receive ( const Sample s)
throw (
)
virtual

Method called to pass a sample to this client.

This method is typically called by a SampleSource for each of its SampleClients when it has a sample ready. Returns true: success false: sample rejected. This is meant to signal a warning-type situation - like a socket not being available temporarily. True errors will be thrown as an IOException.

Implements nidas::core::SampleClient.

Member Data Documentation

int TestClient::nsamples

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