The ApplicationNetworkStats class implements the Ice::Instrumentation::CommunicatorObserver interface to meassure network traffic.
More...
#include <ArmarXCore/core/application/ApplicationNetworkStats.h>
|
| | ApplicationNetworkStats () |
| |
| Ice::Instrumentation::ObserverPtr | getConnectionEstablishmentObserver (const Ice::EndpointPtr &, const std::string &) override |
| |
| Ice::Instrumentation::ConnectionObserverPtr | getConnectionObserver (const Ice::ConnectionInfoPtr &c, const Ice::EndpointPtr &e, Ice::Instrumentation::ConnectionState s, const Ice::Instrumentation::ConnectionObserverPtr &previous) override |
| |
| Ice::Instrumentation::DispatchObserverPtr | getDispatchObserver (const Ice::Current &, Ice::Int) override |
| |
| Ice::Instrumentation::ObserverPtr | getEndpointLookupObserver (const Ice::EndpointPtr &) override |
| |
| Ice::Instrumentation::InvocationObserverPtr | getInvocationObserver (const Ice::ObjectPrx &, const std::string &, const Ice::Context &) override |
| |
| Ice::Instrumentation::ThreadObserverPtr | getThreadObserver (const std::string &, const std::string &, Ice::Instrumentation::ThreadState, const Ice::Instrumentation::ThreadObserverPtr &) override |
| |
| void | setApplicationName () |
| |
| void | setObserverUpdater (const Ice::Instrumentation::ObserverUpdaterPtr &upd) override |
| |
| void | setProfilerTopic () |
| |
| void | start (ProfilerListenerPrx profiler, const std::string &applicationName) |
| |
| void | stopTask () |
| |
| | ~ApplicationNetworkStats () override |
| |
The ApplicationNetworkStats class implements the Ice::Instrumentation::CommunicatorObserver interface to meassure network traffic.
It accumulates the amount of bytes received and sent over network and periodically publishes them over the IceStorm topic set via ApplicationNetworkStats::setProfilerTopic().
The Stats object must be added to the Ice::InitializationData object used during Ice initialization. This is done in armarx::Application::doMain()
Definition at line 51 of file ApplicationNetworkStats.h.
◆ ApplicationNetworkStats()
◆ ~ApplicationNetworkStats()
◆ getConnectionEstablishmentObserver()
| Ice::Instrumentation::ObserverPtr getConnectionEstablishmentObserver |
( |
const Ice::EndpointPtr & | , |
|
|
const std::string & | ) |
|
override |
◆ getConnectionObserver()
| Ice::Instrumentation::ConnectionObserverPtr getConnectionObserver |
( |
const Ice::ConnectionInfoPtr & | c, |
|
|
const Ice::EndpointPtr & | e, |
|
|
Ice::Instrumentation::ConnectionState | s, |
|
|
const Ice::Instrumentation::ConnectionObserverPtr & | previous ) |
|
override |
◆ getDispatchObserver()
| Ice::Instrumentation::DispatchObserverPtr getDispatchObserver |
( |
const Ice::Current & | , |
|
|
Ice::Int | ) |
|
override |
◆ getEndpointLookupObserver()
| Ice::Instrumentation::ObserverPtr getEndpointLookupObserver |
( |
const Ice::EndpointPtr & | | ) |
|
|
override |
◆ getInvocationObserver()
| Ice::Instrumentation::InvocationObserverPtr getInvocationObserver |
( |
const Ice::ObjectPrx & | , |
|
|
const std::string & | , |
|
|
const Ice::Context & | ) |
|
override |
◆ getThreadObserver()
| Ice::Instrumentation::ThreadObserverPtr getThreadObserver |
( |
const std::string & | , |
|
|
const std::string & | , |
|
|
Ice::Instrumentation::ThreadState | , |
|
|
const Ice::Instrumentation::ThreadObserverPtr & | ) |
|
override |
◆ setApplicationName()
| void setApplicationName |
( |
| ) |
|
◆ setObserverUpdater()
| void setObserverUpdater |
( |
const Ice::Instrumentation::ObserverUpdaterPtr & | upd | ) |
|
|
override |
◆ setProfilerTopic()
| void setProfilerTopic |
( |
| ) |
|
◆ start()
| void start |
( |
ProfilerListenerPrx | profiler, |
|
|
const std::string & | applicationName ) |
◆ stopTask()
The documentation for this class was generated from the following files: