mermaid::support::io::StreamReadReplyTask Class Reference

StreamReadReplyTask class. More...

#include <StreamReadReplyTask.hpp>

Inheritance diagram for mermaid::support::io::StreamReadReplyTask:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::io::StreamReadReplyTask:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

StreamReadReplyTask class.

This is the task which delivers the read operation reply

Author:
Joao Carreira

Definition at line 46 of file StreamReadReplyTask.hpp.


Constructor & Destructor Documentation

StreamReadReplyTask::StreamReadReplyTask ( size_t  bytesRead,
size_t  requestedBytes,
const char *  data,
bool  success,
shared_ptr< StreamOperationHandlerMethodBase streamOperationHandler 
)

Constructor.

Parameters:
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
Author:
Joao Carreira

Definition at line 35 of file StreamReadReplyTask.cpp.

StreamReadReplyTask::~StreamReadReplyTask (  )  [virtual]

Destructor.

Author:
Joao Carreira

Definition at line 30 of file StreamReadReplyTask.cpp.


Member Function Documentation

Time Task::getScheduledTime (  )  [inherited]

Scheduled time getter.

Returns:
Time that Task is scheduled to run
Author:
Marco Barbosa + Nelson Ramos

Definition at line 67 of file Task.cpp.

void StreamReadReplyTask::run (  )  [virtual]

Task main method.

Deliver the reply to the handler

Author:
Joao Carreira

Reimplemented from mermaid::support::activeobject::Task.

Definition at line 41 of file StreamReadReplyTask.cpp.

Generated on Fri Mar 4 22:15:48 2011 for MeRMaID::support by  doxygen 1.6.3