StreamReadReplyTask class. More...
#include <StreamReadReplyTask.hpp>
Public Member Functions | |
void | cancelRepeat () |
Time | getScheduledTime () |
Scheduled time getter. | |
bool | hasRepeatScheduling () |
void | incrementScheduledTimeForRepeat () |
bool | isOkToRun () |
virtual void | run () |
Task main method. | |
StreamReadReplyTask (size_t bytesRead, size_t requestedBytes, const char *data, bool success, shared_ptr< StreamOperationHandlerMethodBase > streamOperationHandler) | |
Constructor. | |
virtual | ~StreamReadReplyTask () |
Destructor. |
StreamReadReplyTask class.
This is the task which delivers the read operation reply
Definition at line 46 of file StreamReadReplyTask.hpp.
StreamReadReplyTask::StreamReadReplyTask | ( | size_t | bytesRead, | |
size_t | requestedBytes, | |||
const char * | data, | |||
bool | success, | |||
shared_ptr< StreamOperationHandlerMethodBase > | streamOperationHandler | |||
) |
Constructor.
bytesRead | The number of bytes read | |
requestedBytes | The number of bytes requested to be read | |
data | The read data | |
success | TRUE if read operation was successful, FALSE otherwise | |
streamOperationHandler | The handler which will receive the reply |
Definition at line 35 of file StreamReadReplyTask.cpp.
StreamReadReplyTask::~StreamReadReplyTask | ( | ) | [virtual] |
Destructor.
Definition at line 30 of file StreamReadReplyTask.cpp.
Time Task::getScheduledTime | ( | ) | [inherited] |
void StreamReadReplyTask::run | ( | ) | [virtual] |
Task main method.
Deliver the reply to the handler
Reimplemented from mermaid::support::activeobject::Task.
Definition at line 41 of file StreamReadReplyTask.cpp.