fesa::ProxyReplyHandler Class Reference

An object of ProxyReplyHandlerClass is passed as a reference to the Middleware when performing a subscription. Then Middleware use it as a callback. More...

#include <ProxyReplyHandler.h>

List of all members.

Public Member Functions

 ProxyReplyHandler ()
virtual ~ProxyReplyHandler ()
void handleReply (const rdaRequest &request, const rdaData &value)
void waitReply (std::string &deviceName, std::string &propertyName, std::string &cycleSelectorName, rdaData &data)
void handleError (const rdaRequest &, const rdaException &ex)
void disconnected (const rdaRequest &)
void reconnected (const rdaRequest &)
void cancelled (const rdaRequest &)

Private Attributes

rdaData value_
std::string deviceName_
std::string propertyName_
std::string cycleSelectorName_
Mutex mtx_
ConditionalVariable cv_

Detailed Description

An object of ProxyReplyHandlerClass is passed as a reference to the Middleware when performing a subscription. Then Middleware use it as a callback.

Definition at line 22 of file ProxyReplyHandler.h.


Constructor & Destructor Documentation

fesa::ProxyReplyHandler::ProxyReplyHandler (  ) 

Definition at line 22 of file ProxyReplyHandler.cpp.

References fesa::AbstractMutex::lock(), and mtx_.

fesa::ProxyReplyHandler::~ProxyReplyHandler (  )  [virtual]

Definition at line 27 of file ProxyReplyHandler.cpp.


Member Function Documentation

void fesa::ProxyReplyHandler::cancelled ( const rdaRequest &   ) 

Definition at line 57 of file ProxyReplyHandler.cpp.

void fesa::ProxyReplyHandler::disconnected ( const rdaRequest &   ) 

Definition at line 49 of file ProxyReplyHandler.cpp.

void fesa::ProxyReplyHandler::handleError ( const rdaRequest &  ,
const rdaException &  ex 
)

Definition at line 44 of file ProxyReplyHandler.cpp.

void fesa::ProxyReplyHandler::handleReply ( const rdaRequest &  request,
const rdaData &  value 
)

the callback values have to be saved as they can change after this call is finished

Definition at line 32 of file ProxyReplyHandler.cpp.

References cv_, cycleSelectorName_, deviceName_, mtx_, propertyName_, fesa::ConditionalVariable::signal(), and value_.

void fesa::ProxyReplyHandler::reconnected ( const rdaRequest &   ) 

Definition at line 53 of file ProxyReplyHandler.cpp.

void fesa::ProxyReplyHandler::waitReply ( std::string &  deviceName,
std::string &  propertyName,
std::string &  cycleSelectorName,
rdaData &  data 
)

Member Data Documentation

Definition at line 86 of file ProxyReplyHandler.h.

Referenced by handleReply(), and waitReply().

Definition at line 83 of file ProxyReplyHandler.h.

Referenced by handleReply(), and waitReply().

std::string fesa::ProxyReplyHandler::deviceName_ [private]

Definition at line 81 of file ProxyReplyHandler.h.

Referenced by handleReply(), and waitReply().

Definition at line 85 of file ProxyReplyHandler.h.

Referenced by handleReply(), ProxyReplyHandler(), and waitReply().

Definition at line 82 of file ProxyReplyHandler.h.

Referenced by handleReply(), and waitReply().

Definition at line 80 of file ProxyReplyHandler.h.

Referenced by handleReply(), and waitReply().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1