This class creates a thread that keeps the reconnection of pending subscriptions. More...
Public Member Functions | |
SubscriptionThread (OnSubscriptionEventSource *) | |
~SubscriptionThread () | |
Private Member Functions | |
void | run () |
this method has to be overridden to provide the logic for the thread. It has to contain the code that will be executed in the thread | |
Private Attributes | |
OnSubscriptionEventSource * | evtSrc_ |
pointer to the eventSource that created the thread |
This class creates a thread that keeps the reconnection of pending subscriptions.
Definition at line 108 of file OnSubscriptionEventSource.h.
fesa::OnSubscriptionEventSource::SubscriptionThread::SubscriptionThread | ( | OnSubscriptionEventSource * | evtSrc | ) |
Definition at line 152 of file OnSubscriptionEventSource.cpp.
References evtSrc_.
fesa::OnSubscriptionEventSource::SubscriptionThread::~SubscriptionThread | ( | ) |
Definition at line 157 of file OnSubscriptionEventSource.cpp.
void fesa::OnSubscriptionEventSource::SubscriptionThread::run | ( | ) | [private, virtual] |
this method has to be overridden to provide the logic for the thread. It has to contain the code that will be executed in the thread
Implements fesa::Thread.
Definition at line 162 of file OnSubscriptionEventSource.cpp.
References fesa::OnSubscriptionEventSource::deleteSubscriptionThread(), evtSrc_, fesa::FesaException::getMessage(), fesa::OnSubscriptionEventSource::pendingSubscriptions_, fesa::OnSubscriptionEventSource::proxy_, and fesa::ProxyInterface::subscribe().
pointer to the eventSource that created the thread
Definition at line 119 of file OnSubscriptionEventSource.h.
Referenced by run(), and SubscriptionThread().