Define that we are expecting a certain number of bytes from an VSocketAction::Receiver object.
More...
#include </home/werner/origo/vish/ocean/streams/VSocketAction.hpp>
List of all members.
Public Member Functions
-
Expectation (unsigned long expected_bytes)
- Constructor - gimme the number of bytes that you expect.
-
unsigned long expected () const
- We expect how many bytes to arrive here?
-
double percentage () const
- How much has been transferred already?
-
virtual bool received (socket_t fd)=0
- Callback functions once all and everything is retrieved.
-
bool recv (socket_t fd, bool &CloseStatus)
-
virtual void transfer () const
- Callback function that is called once some data drip in.
Protected Attributes
Detailed Description
Define that we are expecting a certain number of bytes from an VSocketAction::Receiver object.
The documentation for this class was generated from the following files:
- ocean/streams/VSocketAction.hpp
- ocean/streams/VSocketAction.cpp