InstrumentationI.h
Go to the documentation of this file.
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
9 
10 #ifndef INSTRUMENTATION_I_H
11 #define INSTRUMENTATION_I_H
12 
13 #include <Ice/MetricsObserverI.h>
14 
16 #include <IceStorm/Metrics.h>
17 
18 namespace IceStorm
19 {
20 
22  public IceMX::ObserverT<IceMX::TopicMetrics>
23  {
24  public:
25 
26  virtual void published();
27  virtual void forwarded();
28  };
29 
31  public IceMX::ObserverT<IceMX::SubscriberMetrics>
32  {
33  public:
34 
35  virtual void queued(int);
36  virtual void outstanding(int);
37  virtual void delivered(int);
38  };
39 
41  {
42  public:
43 
44  TopicManagerObserverI(const IceInternal::MetricsAdminIPtr&);
45 
47 
49  const std::string&, const std::string&, const IceStorm::Instrumentation::TopicObserverPtr&);
50 
52  const std::string&,
53  const std::string&,
54  const Ice::ObjectPrx&,
55  const IceStorm::QoS&,
56  const IceStorm::TopicPrx&,
59 
60  private:
61 
62  const IceInternal::MetricsAdminIPtr _metrics;
63 
64  IceMX::ObserverFactoryT<TopicObserverI> _topics;
65  IceMX::ObserverFactoryT<SubscriberObserverI> _subscribers;
66  };
68 
69 }
70 
71 #endif
Instrumentation.h
IceStorm::TopicObserverI::forwarded
virtual void forwarded()
Definition: InstrumentationI.cpp:234
IceStorm
Definition: DBTypes.ice:22
IceStorm::TopicManagerObserverI::getTopicObserver
virtual IceStorm::Instrumentation::TopicObserverPtr getTopicObserver(const std::string &, const std::string &, const IceStorm::Instrumentation::TopicObserverPtr &)
Definition: InstrumentationI.cpp:336
IceStorm::TopicObserverI::published
virtual void published()
Definition: InstrumentationI.cpp:228
IceStorm::TopicManagerObserverI::setObserverUpdater
virtual void setObserverUpdater(const IceStorm::Instrumentation::ObserverUpdaterPtr &)
Definition: InstrumentationI.cpp:329
IceStorm::TopicManagerObserverI::getSubscriberObserver
virtual IceStorm::Instrumentation::SubscriberObserverPtr getSubscriberObserver(const std::string &, const std::string &, const Ice::ObjectPrx &, const IceStorm::QoS &, const IceStorm::TopicPrx &, IceStorm::Instrumentation::SubscriberState, const IceStorm::Instrumentation::SubscriberObserverPtr &)
Definition: InstrumentationI.cpp:354
IceStorm::Instrumentation::TopicObserver
Definition: Instrumentation.h:222
IceStorm::Instrumentation::SubscriberState
SubscriberState
Definition: Instrumentation.h:203
IceStorm::TopicManagerObserverI
Definition: InstrumentationI.h:40
IceStorm::Instrumentation::SubscriberObserver
Definition: Instrumentation.h:245
IceInternal::Handle
Definition: forward_declarations.h:8
IceStorm::Instrumentation::TopicManagerObserver
The topic manager observer interface used by the Ice run-time to obtain and update observers for its ...
Definition: Instrumentation.h:293
IceStorm::TopicObserverI
Definition: InstrumentationI.h:21
IceStorm::SubscriberObserverI::delivered
virtual void delivered(int)
Notification of some events being delivered.
Definition: InstrumentationI.cpp:316
IceStorm::TopicManagerObserverI::TopicManagerObserverI
TopicManagerObserverI(const IceInternal::MetricsAdminIPtr &)
Definition: InstrumentationI.cpp:321
IceUtil::Handle
Definition: forward_declarations.h:29
IceInternal::ProxyHandle< ::IceProxy::IceStorm::Topic >
IceStorm::TopicManagerObserverIPtr
IceUtil::Handle< TopicManagerObserverI > TopicManagerObserverIPtr
Definition: InstrumentationI.h:67
IceStorm::SubscriberObserverI
Definition: InstrumentationI.h:30
IceStorm::SubscriberObserverI::queued
virtual void queued(int)
Notification of some events being queued.
Definition: InstrumentationI.cpp:258
IceStorm::SubscriberObserverI::outstanding
virtual void outstanding(int)
Notification of a some events being sent.
Definition: InstrumentationI.cpp:287