Functor object for callbacks when data are received on a socket.
More...
#include </home/werner/origo/vish/ocean/streams/VSocketAction.hpp>
List of all members.
Public Member Functions
-
bool expect (const RefPtr< Expectation > &E, socket_t sd)
- Set an expectation object to this receiver.
-
Receiver ()
- Constructor.
-
bool retrieve (socket_t)
-
virtual void shutdown ()
- Callback function when this object is going to be closed.
-
virtual ~Receiver ()=0
- Virtual Destructor.
Public Attributes
-
RefPtr< Expectation > MyExpectation
- If there is an expectation object associated with this receiver, then it will be filled first until any more data are delivered to the receive() functions.
-
std::string status
- A freely definable string describing the status of this connection.
Protected Member Functions
- virtual bool receive (socket_t)=0
- Callback function invoked when data are ready to be read from the socket.
Detailed Description
Functor object for callbacks when data are received on a socket.
Member Function Documentation
virtual bool Wizt::VSocketAction::Receiver::receive |
( |
socket_t |
| ) |
[protected, pure virtual] |
The documentation for this class was generated from the following files:
- ocean/streams/VSocketAction.hpp
- ocean/streams/VSocketAction.cpp