|
#include <ArmarXCore/applications/ArmarXStorm/IceStorm/Subscriber.h>
Public Types | |
enum | SubscriberState { SubscriberStateOnline, SubscriberStateOffline, SubscriberStateError, SubscriberStateReaped } |
Public Member Functions | |
void | completed (const Ice::AsyncResultPtr &) |
void | destroy () |
void | error (bool, const Ice::Exception &) |
bool | errored () const |
virtual void | flush ()=0 |
Ice::Identity | id () const |
Ice::ObjectPrx | proxy () const |
bool | queue (bool, const EventDataSeq &) |
bool | reap () |
IceStorm::SubscriberRecord | record () const |
void | resetIfReaped () |
void | shutdown () |
void | updateObserver () |
Static Public Member Functions | |
static SubscriberPtr | create (const InstancePtr &, const IceStorm::SubscriberRecord &) |
Protected Member Functions | |
void | setState (SubscriberState) |
Subscriber (const InstancePtr &, const IceStorm::SubscriberRecord &, const Ice::ObjectPrx &, int, int) | |
Protected Attributes | |
int | _currentRetry |
EventDataSeq | _events |
const InstancePtr | _instance |
IceUtil::Monitor< IceUtil::RecMutex > | _lock |
const int | _maxOutstanding |
IceUtil::Time | _next |
IceInternal::ObserverHelperT< IceStorm::Instrumentation::SubscriberObserver > | _observer |
int | _outstanding |
int | _outstandingCount |
const Ice::ObjectPrx | _proxy |
const Ice::ObjectPrx | _proxyReplica |
const IceStorm::SubscriberRecord | _rec |
const int | _retryCount |
bool | _shutdown |
SubscriberState | _state |
Definition at line 28 of file Subscriber.h.
enum SubscriberState |
Enumerator | |
---|---|
SubscriberStateOnline | |
SubscriberStateOffline | |
SubscriberStateError | |
SubscriberStateReaped |
Definition at line 54 of file Subscriber.h.
|
protected |
Definition at line 965 of file Subscriber.cpp.
void completed | ( | const Ice::AsyncResultPtr & | result | ) |
Definition at line 898 of file Subscriber.cpp.
|
static |
Definition at line 522 of file Subscriber.cpp.
void destroy | ( | ) |
Definition at line 759 of file Subscriber.cpp.
void error | ( | bool | dec, |
const Ice::Exception & | e | ||
) |
bool errored | ( | ) | const |
Definition at line 752 of file Subscriber.cpp.
|
pure virtual |
Ice::Identity id | ( | ) | const |
Definition at line 651 of file Subscriber.cpp.
Ice::ObjectPrx proxy | ( | ) | const |
Definition at line 645 of file Subscriber.cpp.
bool queue | ( | bool | forwarded, |
const EventDataSeq & | events | ||
) |
Definition at line 663 of file Subscriber.cpp.
bool reap | ( | ) |
Definition at line 729 of file Subscriber.cpp.
SubscriberRecord record | ( | ) | const |
Definition at line 657 of file Subscriber.cpp.
void resetIfReaped | ( | ) |
Definition at line 742 of file Subscriber.cpp.
|
protected |
void shutdown | ( | ) |
Definition at line 936 of file Subscriber.cpp.
void updateObserver | ( | ) |
Definition at line 950 of file Subscriber.cpp.
|
protected |
Definition at line 90 of file Subscriber.h.
|
protected |
Definition at line 86 of file Subscriber.h.
|
protected |
Definition at line 71 of file Subscriber.h.
|
protected |
Definition at line 78 of file Subscriber.h.
|
protected |
Definition at line 74 of file Subscriber.h.
|
protected |
Definition at line 89 of file Subscriber.h.
|
protected |
Definition at line 92 of file Subscriber.h.
|
protected |
Definition at line 84 of file Subscriber.h.
|
protected |
Definition at line 85 of file Subscriber.h.
|
protected |
Definition at line 75 of file Subscriber.h.
|
protected |
Definition at line 76 of file Subscriber.h.
|
protected |
Definition at line 72 of file Subscriber.h.
|
protected |
Definition at line 73 of file Subscriber.h.
|
protected |
Definition at line 80 of file Subscriber.h.
|
protected |
Definition at line 82 of file Subscriber.h.