Ice 3.7 C++11 API Reference
Instrumentation.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 //
5 // Ice version 3.7.10
6 //
7 // <auto-generated>
8 //
9 // Generated from file `Instrumentation.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __Ice_Instrumentation_h__
17 #define __Ice_Instrumentation_h__
18 
20 #include <Ice/ProxyF.h>
21 #include <Ice/ObjectF.h>
22 #include <Ice/ValueF.h>
23 #include <Ice/Exception.h>
24 #include <Ice/LocalObject.h>
25 #include <Ice/StreamHelpers.h>
26 #include <Ice/Comparable.h>
27 #include <IceUtil/ScopedArray.h>
28 #include <Ice/Optional.h>
29 #include <Ice/EndpointF.h>
30 #include <Ice/ConnectionF.h>
31 #include <Ice/Current.h>
32 #include <IceUtil/UndefSysMacros.h>
33 
34 #ifndef ICE_IGNORE_VERSION
35 # if ICE_INT_VERSION / 100 != 307
36 # error Ice version mismatch!
37 # endif
38 # if ICE_INT_VERSION % 100 >= 50
39 # error Beta header file detected
40 # endif
41 # if ICE_INT_VERSION % 100 < 10
42 # error Ice patch level mismatch!
43 # endif
44 #endif
45 
46 #ifndef ICE_API
47 # if defined(ICE_STATIC_LIBS)
48 # define ICE_API
49 # elif defined(ICE_API_EXPORTS)
50 # define ICE_API ICE_DECLSPEC_EXPORT
51 # else
52 # define ICE_API ICE_DECLSPEC_IMPORT
53 # endif
54 #endif
55 
56 #ifdef ICE_CPP11_MAPPING // C++11 mapping
57 
58 namespace Ice
59 {
60 
61 
62 namespace Instrumentation
63 {
64 
65 class Observer;
66 class ThreadObserver;
67 class ConnectionObserver;
68 class DispatchObserver;
70 class RemoteObserver;
71 class CollocatedObserver;
72 class InvocationObserver;
73 class ObserverUpdater;
75 
76 }
77 
78 }
79 
80 namespace Ice
81 {
82 
83 namespace Instrumentation
84 {
85 
90 enum class ThreadState : unsigned char
91 {
95  ThreadStateIdle,
101  ThreadStateInUseForIO,
107  ThreadStateInUseForUser,
113 };
114 
118 enum class ConnectionState : unsigned char
119 {
123  ConnectionStateValidating,
127  ConnectionStateHolding,
131  ConnectionStateActive,
136  ConnectionStateClosing,
142 };
143 
144 }
145 
146 }
147 
148 namespace Ice
149 {
150 
151 namespace Instrumentation
152 {
153 
159 class ICE_CLASS(ICE_API) Observer
160 {
161 public:
162 
164 
169  virtual void attach() = 0;
170 
175  virtual void detach() = 0;
176 
181  virtual void failed(const ::std::string& exceptionName) = 0;
182 };
183 
190 class ICE_CLASS(ICE_API) ThreadObserver : public virtual ::Ice::Instrumentation::Observer
191 {
192 public:
193 
195 
201  virtual void stateChanged(ThreadState oldState, ThreadState newState) = 0;
202 };
203 
208 class ICE_CLASS(ICE_API) ConnectionObserver : public virtual ::Ice::Instrumentation::Observer
209 {
210 public:
211 
213 
218  virtual void sentBytes(int num) = 0;
219 
224  virtual void receivedBytes(int num) = 0;
225 };
226 
231 class ICE_CLASS(ICE_API) DispatchObserver : public virtual ::Ice::Instrumentation::Observer
232 {
233 public:
234 
236 
240  virtual void userException() = 0;
241 
246  virtual void reply(int size) = 0;
247 };
248 
254 class ICE_CLASS(ICE_API) ChildInvocationObserver : public virtual ::Ice::Instrumentation::Observer
255 {
256 public:
257 
259 
264  virtual void reply(int size) = 0;
265 };
266 
272 class ICE_CLASS(ICE_API) RemoteObserver : public virtual ::Ice::Instrumentation::ChildInvocationObserver
273 {
274 public:
275 
277 };
278 
285 {
286 public:
287 
289 };
290 
298 class ICE_CLASS(ICE_API) InvocationObserver : public virtual ::Ice::Instrumentation::Observer
299 {
300 public:
301 
303 
307  virtual void retried() = 0;
308 
312  virtual void userException() = 0;
313 
322  virtual ::std::shared_ptr<::Ice::Instrumentation::RemoteObserver> getRemoteObserver(const ::std::shared_ptr<::Ice::ConnectionInfo>& con, const ::std::shared_ptr<::Ice::Endpoint>& endpt, int requestId, int size) = 0;
323 
331  virtual ::std::shared_ptr<::Ice::Instrumentation::CollocatedObserver> getCollocatedObserver(const ::std::shared_ptr<::Ice::ObjectAdapter>& adapter, int requestId, int size) = 0;
332 };
333 
348 class ICE_CLASS(ICE_API) ObserverUpdater
349 {
350 public:
351 
353 
363  virtual void updateConnectionObservers() = 0;
364 
374  virtual void updateThreadObservers() = 0;
375 };
376 
386 class ICE_CLASS(ICE_API) CommunicatorObserver
387 {
388 public:
389 
391 
401  virtual ::std::shared_ptr<::Ice::Instrumentation::Observer> getConnectionEstablishmentObserver(const ::std::shared_ptr<::Ice::Endpoint>& endpt, const ::std::string& connector) = 0;
402 
413  virtual ::std::shared_ptr<::Ice::Instrumentation::Observer> getEndpointLookupObserver(const ::std::shared_ptr<::Ice::Endpoint>& endpt) = 0;
414 
427  virtual ::std::shared_ptr<::Ice::Instrumentation::ConnectionObserver> getConnectionObserver(const ::std::shared_ptr<::Ice::ConnectionInfo>& c, const ::std::shared_ptr<::Ice::Endpoint>& e, ConnectionState s, const ::std::shared_ptr<ConnectionObserver>& o) = 0;
428 
441  virtual ::std::shared_ptr<::Ice::Instrumentation::ThreadObserver> getThreadObserver(const ::std::string& parent, const ::std::string& id, ThreadState s, const ::std::shared_ptr<ThreadObserver>& o) = 0;
442 
452  virtual ::std::shared_ptr<::Ice::Instrumentation::InvocationObserver> getInvocationObserver(const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::std::string& operation, const ::Ice::Context& ctx) = 0;
453 
464  virtual ::std::shared_ptr<::Ice::Instrumentation::DispatchObserver> getDispatchObserver(const ::Ice::Current& c, int size) = 0;
465 
473  virtual void setObserverUpdater(const ::std::shared_ptr<ObserverUpdater>& updater) = 0;
474 };
475 
476 }
477 
478 }
479 
481 namespace Ice
482 {
483 
484 }
486 
488 namespace Ice
489 {
490 
492 namespace Instrumentation
493 {
494 
495 using ObserverPtr = ::std::shared_ptr<Observer>;
496 
497 using ThreadObserverPtr = ::std::shared_ptr<ThreadObserver>;
498 
499 using ConnectionObserverPtr = ::std::shared_ptr<ConnectionObserver>;
500 
501 using DispatchObserverPtr = ::std::shared_ptr<DispatchObserver>;
502 
503 using ChildInvocationObserverPtr = ::std::shared_ptr<ChildInvocationObserver>;
504 
505 using RemoteObserverPtr = ::std::shared_ptr<RemoteObserver>;
506 
507 using CollocatedObserverPtr = ::std::shared_ptr<CollocatedObserver>;
508 
509 using InvocationObserverPtr = ::std::shared_ptr<InvocationObserver>;
510 
511 using ObserverUpdaterPtr = ::std::shared_ptr<ObserverUpdater>;
512 
513 using CommunicatorObserverPtr = ::std::shared_ptr<CommunicatorObserver>;
514 
515 }
517 
518 }
520 
521 #else // C++98 mapping
522 
523 namespace Ice
524 {
525 
526 namespace Instrumentation
527 {
528 
529 class Observer;
531 ICE_API ::Ice::LocalObject* upCast(Observer*);
533 typedef ::IceInternal::Handle< Observer> ObserverPtr;
534 
535 class ThreadObserver;
537 ICE_API ::Ice::LocalObject* upCast(ThreadObserver*);
539 typedef ::IceInternal::Handle< ThreadObserver> ThreadObserverPtr;
540 
541 class ConnectionObserver;
543 ICE_API ::Ice::LocalObject* upCast(ConnectionObserver*);
545 typedef ::IceInternal::Handle< ConnectionObserver> ConnectionObserverPtr;
546 
547 class DispatchObserver;
549 ICE_API ::Ice::LocalObject* upCast(DispatchObserver*);
551 typedef ::IceInternal::Handle< DispatchObserver> DispatchObserverPtr;
552 
553 class ChildInvocationObserver;
555 ICE_API ::Ice::LocalObject* upCast(ChildInvocationObserver*);
557 typedef ::IceInternal::Handle< ChildInvocationObserver> ChildInvocationObserverPtr;
558 
559 class RemoteObserver;
561 ICE_API ::Ice::LocalObject* upCast(RemoteObserver*);
563 typedef ::IceInternal::Handle< RemoteObserver> RemoteObserverPtr;
564 
565 class CollocatedObserver;
567 ICE_API ::Ice::LocalObject* upCast(CollocatedObserver*);
569 typedef ::IceInternal::Handle< CollocatedObserver> CollocatedObserverPtr;
570 
571 class InvocationObserver;
573 ICE_API ::Ice::LocalObject* upCast(InvocationObserver*);
575 typedef ::IceInternal::Handle< InvocationObserver> InvocationObserverPtr;
576 
577 class ObserverUpdater;
579 ICE_API ::Ice::LocalObject* upCast(ObserverUpdater*);
581 typedef ::IceInternal::Handle< ObserverUpdater> ObserverUpdaterPtr;
582 
583 class CommunicatorObserver;
585 ICE_API ::Ice::LocalObject* upCast(CommunicatorObserver*);
587 typedef ::IceInternal::Handle< CommunicatorObserver> CommunicatorObserverPtr;
588 
589 }
590 
591 }
592 
593 namespace Ice
594 {
595 
596 namespace Instrumentation
597 {
598 
603 enum ThreadState
604 {
608  ThreadStateIdle,
614  ThreadStateInUseForIO,
620  ThreadStateInUseForUser,
626 };
627 
631 enum ConnectionState
632 {
636  ConnectionStateValidating,
640  ConnectionStateHolding,
644  ConnectionStateActive,
649  ConnectionStateClosing,
655 };
656 
657 }
658 
659 }
660 
661 namespace Ice
662 {
663 
664 namespace Instrumentation
665 {
666 
672 class ICE_API Observer : public virtual ::Ice::LocalObject
673 {
674 public:
675 
676  typedef ObserverPtr PointerType;
677 
678  virtual ~Observer();
679 
680 #ifdef ICE_CPP11_COMPILER
681  Observer() = default;
682  Observer(const Observer&) = default;
683  Observer& operator=(const Observer&) = default;
684 #endif
685 
690  virtual void attach() = 0;
691 
696  virtual void detach() = 0;
697 
702  virtual void failed(const ::std::string& exceptionName) = 0;
703 };
704 
706 inline bool operator==(const Observer& lhs, const Observer& rhs)
707 {
708  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
709 }
710 
711 inline bool operator<(const Observer& lhs, const Observer& rhs)
712 {
713  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
714 }
716 
723 class ICE_API ThreadObserver : virtual public Observer
724 {
725 public:
726 
727  typedef ThreadObserverPtr PointerType;
728 
729  virtual ~ThreadObserver();
730 
731 #ifdef ICE_CPP11_COMPILER
732  ThreadObserver() = default;
733  ThreadObserver(const ThreadObserver&) = default;
734  ThreadObserver& operator=(const ThreadObserver&) = default;
735 #endif
736 
742  virtual void stateChanged(ThreadState oldState, ThreadState newState) = 0;
743 };
744 
746 inline bool operator==(const ThreadObserver& lhs, const ThreadObserver& rhs)
747 {
748  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
749 }
750 
751 inline bool operator<(const ThreadObserver& lhs, const ThreadObserver& rhs)
752 {
753  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
754 }
756 
761 class ICE_API ConnectionObserver : virtual public Observer
762 {
763 public:
764 
765  typedef ConnectionObserverPtr PointerType;
766 
767  virtual ~ConnectionObserver();
768 
769 #ifdef ICE_CPP11_COMPILER
770  ConnectionObserver() = default;
771  ConnectionObserver(const ConnectionObserver&) = default;
772  ConnectionObserver& operator=(const ConnectionObserver&) = default;
773 #endif
774 
779  virtual void sentBytes(::Ice::Int num) = 0;
780 
785  virtual void receivedBytes(::Ice::Int num) = 0;
786 };
787 
789 inline bool operator==(const ConnectionObserver& lhs, const ConnectionObserver& rhs)
790 {
791  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
792 }
793 
794 inline bool operator<(const ConnectionObserver& lhs, const ConnectionObserver& rhs)
795 {
796  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
797 }
799 
804 class ICE_API DispatchObserver : virtual public Observer
805 {
806 public:
807 
808  typedef DispatchObserverPtr PointerType;
809 
810  virtual ~DispatchObserver();
811 
812 #ifdef ICE_CPP11_COMPILER
813  DispatchObserver() = default;
814  DispatchObserver(const DispatchObserver&) = default;
815  DispatchObserver& operator=(const DispatchObserver&) = default;
816 #endif
817 
821  virtual void userException() = 0;
822 
827  virtual void reply(::Ice::Int size) = 0;
828 };
829 
831 inline bool operator==(const DispatchObserver& lhs, const DispatchObserver& rhs)
832 {
833  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
834 }
835 
836 inline bool operator<(const DispatchObserver& lhs, const DispatchObserver& rhs)
837 {
838  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
839 }
841 
847 class ICE_API ChildInvocationObserver : virtual public Observer
848 {
849 public:
850 
851  typedef ChildInvocationObserverPtr PointerType;
852 
853  virtual ~ChildInvocationObserver();
854 
855 #ifdef ICE_CPP11_COMPILER
856  ChildInvocationObserver() = default;
857  ChildInvocationObserver(const ChildInvocationObserver&) = default;
858  ChildInvocationObserver& operator=(const ChildInvocationObserver&) = default;
859 #endif
860 
865  virtual void reply(::Ice::Int size) = 0;
866 };
867 
869 inline bool operator==(const ChildInvocationObserver& lhs, const ChildInvocationObserver& rhs)
870 {
871  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
872 }
873 
874 inline bool operator<(const ChildInvocationObserver& lhs, const ChildInvocationObserver& rhs)
875 {
876  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
877 }
879 
885 class ICE_API RemoteObserver : virtual public ChildInvocationObserver
886 {
887 public:
888 
889  typedef RemoteObserverPtr PointerType;
890 
891  virtual ~RemoteObserver();
892 
893 #ifdef ICE_CPP11_COMPILER
894  RemoteObserver() = default;
895  RemoteObserver(const RemoteObserver&) = default;
896  RemoteObserver& operator=(const RemoteObserver&) = default;
897 #endif
898 };
899 
901 inline bool operator==(const RemoteObserver& lhs, const RemoteObserver& rhs)
902 {
903  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
904 }
905 
906 inline bool operator<(const RemoteObserver& lhs, const RemoteObserver& rhs)
907 {
908  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
909 }
911 
917 class ICE_API CollocatedObserver : virtual public ChildInvocationObserver
918 {
919 public:
920 
921  typedef CollocatedObserverPtr PointerType;
922 
923  virtual ~CollocatedObserver();
924 
925 #ifdef ICE_CPP11_COMPILER
926  CollocatedObserver() = default;
927  CollocatedObserver(const CollocatedObserver&) = default;
928  CollocatedObserver& operator=(const CollocatedObserver&) = default;
929 #endif
930 };
931 
933 inline bool operator==(const CollocatedObserver& lhs, const CollocatedObserver& rhs)
934 {
935  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
936 }
937 
938 inline bool operator<(const CollocatedObserver& lhs, const CollocatedObserver& rhs)
939 {
940  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
941 }
943 
951 class ICE_API InvocationObserver : virtual public Observer
952 {
953 public:
954 
955  typedef InvocationObserverPtr PointerType;
956 
957  virtual ~InvocationObserver();
958 
959 #ifdef ICE_CPP11_COMPILER
960  InvocationObserver() = default;
961  InvocationObserver(const InvocationObserver&) = default;
962  InvocationObserver& operator=(const InvocationObserver&) = default;
963 #endif
964 
968  virtual void retried() = 0;
969 
973  virtual void userException() = 0;
974 
983  virtual RemoteObserverPtr getRemoteObserver(const ::Ice::ConnectionInfoPtr& con, const ::Ice::EndpointPtr& endpt, ::Ice::Int requestId, ::Ice::Int size) = 0;
984 
992  virtual CollocatedObserverPtr getCollocatedObserver(const ::Ice::ObjectAdapterPtr& adapter, ::Ice::Int requestId, ::Ice::Int size) = 0;
993 };
994 
996 inline bool operator==(const InvocationObserver& lhs, const InvocationObserver& rhs)
997 {
998  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
999 }
1000 
1001 inline bool operator<(const InvocationObserver& lhs, const InvocationObserver& rhs)
1002 {
1003  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
1004 }
1006 
1021 class ICE_API ObserverUpdater : public virtual ::Ice::LocalObject
1022 {
1023 public:
1024 
1025  typedef ObserverUpdaterPtr PointerType;
1026 
1027  virtual ~ObserverUpdater();
1028 
1029 #ifdef ICE_CPP11_COMPILER
1030  ObserverUpdater() = default;
1031  ObserverUpdater(const ObserverUpdater&) = default;
1032  ObserverUpdater& operator=(const ObserverUpdater&) = default;
1033 #endif
1034 
1044  virtual void updateConnectionObservers() = 0;
1045 
1055  virtual void updateThreadObservers() = 0;
1056 };
1057 
1059 inline bool operator==(const ObserverUpdater& lhs, const ObserverUpdater& rhs)
1060 {
1061  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
1062 }
1063 
1064 inline bool operator<(const ObserverUpdater& lhs, const ObserverUpdater& rhs)
1065 {
1066  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
1067 }
1069 
1079 class ICE_API CommunicatorObserver : public virtual ::Ice::LocalObject
1080 {
1081 public:
1082 
1083  typedef CommunicatorObserverPtr PointerType;
1084 
1085  virtual ~CommunicatorObserver();
1086 
1087 #ifdef ICE_CPP11_COMPILER
1088  CommunicatorObserver() = default;
1089  CommunicatorObserver(const CommunicatorObserver&) = default;
1090  CommunicatorObserver& operator=(const CommunicatorObserver&) = default;
1091 #endif
1092 
1102  virtual ObserverPtr getConnectionEstablishmentObserver(const ::Ice::EndpointPtr& endpt, const ::std::string& connector) = 0;
1103 
1114  virtual ObserverPtr getEndpointLookupObserver(const ::Ice::EndpointPtr& endpt) = 0;
1115 
1128  virtual ConnectionObserverPtr getConnectionObserver(const ::Ice::ConnectionInfoPtr& c, const ::Ice::EndpointPtr& e, ConnectionState s, const ConnectionObserverPtr& o) = 0;
1129 
1142  virtual ThreadObserverPtr getThreadObserver(const ::std::string& parent, const ::std::string& id, ThreadState s, const ThreadObserverPtr& o) = 0;
1143 
1153  virtual InvocationObserverPtr getInvocationObserver(const ::Ice::ObjectPrx& prx, const ::std::string& operation, const ::Ice::Context& ctx) = 0;
1154 
1165  virtual DispatchObserverPtr getDispatchObserver(const ::Ice::Current& c, ::Ice::Int size) = 0;
1166 
1174  virtual void setObserverUpdater(const ObserverUpdaterPtr& updater) = 0;
1175 };
1176 
1178 inline bool operator==(const CommunicatorObserver& lhs, const CommunicatorObserver& rhs)
1179 {
1180  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
1181 }
1182 
1183 inline bool operator<(const CommunicatorObserver& lhs, const CommunicatorObserver& rhs)
1184 {
1185  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
1186 }
1188 
1189 }
1190 
1191 }
1192 
1194 namespace Ice
1195 {
1196 
1197 }
1199 
1200 #endif
1201 
1203 #endif
Ice::Instrumentation::Observer::detach
virtual void detach()=0
This method is called when the instrumented object is destroyed and as a result the observer detached...
Ice::Instrumentation::Observer::~Observer
virtual ~Observer()
Ice::Instrumentation::ConnectionObserver
The connection observer interface to instrument Ice connections.
Definition: Instrumentation.h:209
Ice::Instrumentation::CommunicatorObserver::getInvocationObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::InvocationObserver > getInvocationObserver(const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::std::string &operation, const ::Ice::Context &ctx)=0
This method should return an invocation observer for the given invocation.
Optional.h
Ice::Context
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
Ice::Instrumentation::CommunicatorObserver::getConnectionEstablishmentObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::Observer > getConnectionEstablishmentObserver(const ::std::shared_ptr<::Ice::Endpoint > &endpt, const ::std::string &connector)=0
This method should return an observer for the given endpoint information and connector.
Current.h
Ice::Instrumentation::ConnectionState::ConnectionStateValidating
@ ConnectionStateValidating
The connection is being validated.
StreamHelpers.h
Ice::Instrumentation::ChildInvocationObserver
The child invocation observer to instrument remote or collocated invocations.
Definition: Instrumentation.h:255
ConnectionF.h
Ice::operator==
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:184
Ice::upCast
IceUtil::Shared * upCast(::Ice::LocalObject *)
Ice::Instrumentation::ConnectionObserver::sentBytes
virtual void sentBytes(int num)=0
Notification of sent bytes over the connection.
Ice::Instrumentation::CommunicatorObserver
The communicator observer interface used by the Ice run-time to obtain and update observers for its o...
Definition: Instrumentation.h:387
Ice::Instrumentation::CommunicatorObserver::getEndpointLookupObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::Observer > getEndpointLookupObserver(const ::std::shared_ptr<::Ice::Endpoint > &endpt)=0
This method should return an observer for the given endpoint information.
Ice::Instrumentation::CollocatedObserver
The collocated observer to instrument invocations that are collocated.
Definition: Instrumentation.h:285
Ice::Instrumentation::DispatchObserver
The dispatch observer to instrument servant dispatch.
Definition: Instrumentation.h:232
Ice::Instrumentation::CommunicatorObserver::getConnectionObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::ConnectionObserver > getConnectionObserver(const ::std::shared_ptr<::Ice::ConnectionInfo > &c, const ::std::shared_ptr<::Ice::Endpoint > &e, ConnectionState s, const ::std::shared_ptr< ConnectionObserver > &o)=0
This method should return a connection observer for the given connection.
Ice::Instrumentation::CommunicatorObserver::getThreadObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::ThreadObserver > getThreadObserver(const ::std::string &parent, const ::std::string &id, ThreadState s, const ::std::shared_ptr< ThreadObserver > &o)=0
This method should return a thread observer for the given thread.
Ice::Instrumentation::ObserverUpdater::updateThreadObservers
virtual void updateThreadObservers()=0
Update thread observers associated with each of the Ice thread from the communicator and its object a...
Ice::Instrumentation::ChildInvocationObserver::~ChildInvocationObserver
virtual ~ChildInvocationObserver()
ICE_API
#define ICE_API
Definition: Config.h:197
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
Ice::Instrumentation::InvocationObserver::~InvocationObserver
virtual ~InvocationObserver()
Ice::Instrumentation::ConnectionObserver::receivedBytes
virtual void receivedBytes(int num)=0
Notification of received bytes over the connection.
Ice::Instrumentation::InvocationObserver
The invocation observer to instrument invocations on proxies.
Definition: Instrumentation.h:299
Ice::Instrumentation::ConnectionObserver::~ConnectionObserver
virtual ~ConnectionObserver()
LocalObject.h
PushDisableWarnings.h
Ice::Instrumentation::InvocationObserver::getRemoteObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::RemoteObserver > getRemoteObserver(const ::std::shared_ptr<::Ice::ConnectionInfo > &con, const ::std::shared_ptr<::Ice::Endpoint > &endpt, int requestId, int size)=0
Get a remote observer for this invocation.
Ice::Instrumentation::DispatchObserver::userException
virtual void userException()=0
Notification of a user exception.
ProxyF.h
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
Ice::Instrumentation::DispatchObserver::reply
virtual void reply(int size)=0
Reply notification.
Ice::Instrumentation::InvocationObserver::getCollocatedObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::CollocatedObserver > getCollocatedObserver(const ::std::shared_ptr<::Ice::ObjectAdapter > &adapter, int requestId, int size)=0
Get a collocated observer for this invocation.
Ice::Instrumentation::Observer
The object observer interface used by instrumented objects to notify the observer of their existence.
Definition: Instrumentation.h:160
Ice::Instrumentation::CommunicatorObserver::setObserverUpdater
virtual void setObserverUpdater(const ::std::shared_ptr< ObserverUpdater > &updater)=0
The Ice run-time calls this method when the communicator is initialized.
UndefSysMacros.h
Ice::Instrumentation::RemoteObserver
The remote observer to instrument invocations that are sent over the wire.
Definition: Instrumentation.h:273
Ice::Instrumentation::ChildInvocationObserver::reply
virtual void reply(int size)=0
Reply notification.
Ice::Instrumentation::Observer::failed
virtual void failed(const ::std::string &exceptionName)=0
Notification of a failure.
Ice::Instrumentation::DispatchObserver::~DispatchObserver
virtual ~DispatchObserver()
ObjectF.h
Ice::Instrumentation::Observer::attach
virtual void attach()=0
This method is called when the instrumented object is created or when the observer is attached to an ...
Ice::Instrumentation::RemoteObserver::~RemoteObserver
virtual ~RemoteObserver()
Ice
Definition: BuiltinSequences.h:56
Ice::Instrumentation::ThreadObserver
The thread observer interface to instrument Ice threads.
Definition: Instrumentation.h:191
EndpointF.h
Ice::Instrumentation::CommunicatorObserver::~CommunicatorObserver
virtual ~CommunicatorObserver()
Ice::Instrumentation::CommunicatorObserver::getDispatchObserver
virtual ::std::shared_ptr<::Ice::Instrumentation::DispatchObserver > getDispatchObserver(const ::Ice::Current &c, int size)=0
This method should return a dispatch observer for the given dispatch.
Ice::Instrumentation::ThreadState
ThreadState
The thread state enumeration keeps track of the different possible states of Ice threads.
Definition: Instrumentation.h:91
Comparable.h
Ice::Instrumentation::ObserverUpdater::~ObserverUpdater
virtual ~ObserverUpdater()
ScopedArray.h
Ice::Instrumentation::ObserverUpdater
The observer updater interface.
Definition: Instrumentation.h:349
Ice::Instrumentation::ConnectionState
ConnectionState
The state of an Ice connection.
Definition: Instrumentation.h:119
Exception.h
ValueF.h
Ice::Instrumentation::InvocationObserver::retried
virtual void retried()=0
Notification of the invocation being retried.
Ice::Instrumentation::InvocationObserver::userException
virtual void userException()=0
Notification of a user exception.
Ice::Instrumentation::CollocatedObserver::~CollocatedObserver
virtual ~CollocatedObserver()
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
Ice::Instrumentation::ThreadObserver::stateChanged
virtual void stateChanged(ThreadState oldState, ThreadState newState)=0
Notification of thread state change.
Ice::Instrumentation::ObserverUpdater::updateConnectionObservers
virtual void updateConnectionObservers()=0
Update connection observers associated with each of the Ice connection from the communicator and its ...
Ice::Instrumentation::ThreadObserver::~ThreadObserver
virtual ~ThreadObserver()
Ice::Instrumentation::ThreadState::ThreadStateIdle
@ ThreadStateIdle
The thread is idle.
PopDisableWarnings.h