/usr/include/Ice/Instrumentation.h is in libzeroc-ice35-dev 3.5.1-6.4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | // **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `Instrumentation.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
#ifndef __Ice_Instrumentation_h__
#define __Ice_Instrumentation_h__
#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/Exception.h>
#include <Ice/LocalObject.h>
#include <Ice/StreamHelpers.h>
#include <IceUtil/ScopedArray.h>
#include <IceUtil/Optional.h>
#include <Ice/EndpointF.h>
#include <Ice/ConnectionF.h>
#include <Ice/Current.h>
#include <Ice/UndefSysMacros.h>
#ifndef ICE_IGNORE_VERSION
# if ICE_INT_VERSION / 100 != 305
# error Ice version mismatch!
# endif
# if ICE_INT_VERSION % 100 > 50
# error Beta header file detected
# endif
# if ICE_INT_VERSION % 100 < 1
# error Ice patch level mismatch!
# endif
#endif
#ifndef ICE_API
# ifdef ICE_API_EXPORTS
# define ICE_API ICE_DECLSPEC_EXPORT
# else
# define ICE_API ICE_DECLSPEC_IMPORT
# endif
#endif
namespace Ice
{
namespace Instrumentation
{
class Observer;
bool operator==(const Observer&, const Observer&);
bool operator<(const Observer&, const Observer&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::Observer*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::Observer> ObserverPtr;
class ThreadObserver;
bool operator==(const ThreadObserver&, const ThreadObserver&);
bool operator<(const ThreadObserver&, const ThreadObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::ThreadObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::ThreadObserver> ThreadObserverPtr;
class ConnectionObserver;
bool operator==(const ConnectionObserver&, const ConnectionObserver&);
bool operator<(const ConnectionObserver&, const ConnectionObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::ConnectionObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::ConnectionObserver> ConnectionObserverPtr;
class DispatchObserver;
bool operator==(const DispatchObserver&, const DispatchObserver&);
bool operator<(const DispatchObserver&, const DispatchObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::DispatchObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::DispatchObserver> DispatchObserverPtr;
class RemoteObserver;
bool operator==(const RemoteObserver&, const RemoteObserver&);
bool operator<(const RemoteObserver&, const RemoteObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::RemoteObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::RemoteObserver> RemoteObserverPtr;
class InvocationObserver;
bool operator==(const InvocationObserver&, const InvocationObserver&);
bool operator<(const InvocationObserver&, const InvocationObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::InvocationObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::InvocationObserver> InvocationObserverPtr;
class ObserverUpdater;
bool operator==(const ObserverUpdater&, const ObserverUpdater&);
bool operator<(const ObserverUpdater&, const ObserverUpdater&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::ObserverUpdater*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::ObserverUpdater> ObserverUpdaterPtr;
class CommunicatorObserver;
bool operator==(const CommunicatorObserver&, const CommunicatorObserver&);
bool operator<(const CommunicatorObserver&, const CommunicatorObserver&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Instrumentation::CommunicatorObserver*);
typedef ::IceInternal::Handle< ::Ice::Instrumentation::CommunicatorObserver> CommunicatorObserverPtr;
}
}
namespace Ice
{
namespace Instrumentation
{
enum ThreadState
{
ThreadStateIdle,
ThreadStateInUseForIO,
ThreadStateInUseForUser,
ThreadStateInUseForOther
};
enum ConnectionState
{
ConnectionStateValidating,
ConnectionStateHolding,
ConnectionStateActive,
ConnectionStateClosing,
ConnectionStateClosed
};
}
}
namespace Ice
{
}
namespace Ice
{
namespace Instrumentation
{
class ICE_API Observer : virtual public ::Ice::LocalObject
{
public:
typedef ObserverPtr PointerType;
virtual void attach() = 0;
virtual void detach() = 0;
virtual void failed(const ::std::string&) = 0;
};
inline bool operator==(const Observer& l, const Observer& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const Observer& l, const Observer& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API ThreadObserver : virtual public ::Ice::Instrumentation::Observer
{
public:
typedef ThreadObserverPtr PointerType;
virtual void stateChanged(::Ice::Instrumentation::ThreadState, ::Ice::Instrumentation::ThreadState) = 0;
};
inline bool operator==(const ThreadObserver& l, const ThreadObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const ThreadObserver& l, const ThreadObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API ConnectionObserver : virtual public ::Ice::Instrumentation::Observer
{
public:
typedef ConnectionObserverPtr PointerType;
virtual void sentBytes(::Ice::Int) = 0;
virtual void receivedBytes(::Ice::Int) = 0;
};
inline bool operator==(const ConnectionObserver& l, const ConnectionObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const ConnectionObserver& l, const ConnectionObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API DispatchObserver : virtual public ::Ice::Instrumentation::Observer
{
public:
typedef DispatchObserverPtr PointerType;
virtual void userException() = 0;
virtual void reply(::Ice::Int) = 0;
};
inline bool operator==(const DispatchObserver& l, const DispatchObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const DispatchObserver& l, const DispatchObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API RemoteObserver : virtual public ::Ice::Instrumentation::Observer
{
public:
typedef RemoteObserverPtr PointerType;
virtual void reply(::Ice::Int) = 0;
};
inline bool operator==(const RemoteObserver& l, const RemoteObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const RemoteObserver& l, const RemoteObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API InvocationObserver : virtual public ::Ice::Instrumentation::Observer
{
public:
typedef InvocationObserverPtr PointerType;
virtual void retried() = 0;
virtual void userException() = 0;
virtual ::Ice::Instrumentation::RemoteObserverPtr getRemoteObserver(const ::Ice::ConnectionInfoPtr&, const ::Ice::EndpointPtr&, ::Ice::Int, ::Ice::Int) = 0;
};
inline bool operator==(const InvocationObserver& l, const InvocationObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const InvocationObserver& l, const InvocationObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API ObserverUpdater : virtual public ::Ice::LocalObject
{
public:
typedef ObserverUpdaterPtr PointerType;
virtual void updateConnectionObservers() = 0;
virtual void updateThreadObservers() = 0;
};
inline bool operator==(const ObserverUpdater& l, const ObserverUpdater& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const ObserverUpdater& l, const ObserverUpdater& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API CommunicatorObserver : virtual public ::Ice::LocalObject
{
public:
typedef CommunicatorObserverPtr PointerType;
virtual ::Ice::Instrumentation::ObserverPtr getConnectionEstablishmentObserver(const ::Ice::EndpointPtr&, const ::std::string&) = 0;
virtual ::Ice::Instrumentation::ObserverPtr getEndpointLookupObserver(const ::Ice::EndpointPtr&) = 0;
virtual ::Ice::Instrumentation::ConnectionObserverPtr getConnectionObserver(const ::Ice::ConnectionInfoPtr&, const ::Ice::EndpointPtr&, ::Ice::Instrumentation::ConnectionState, const ::Ice::Instrumentation::ConnectionObserverPtr&) = 0;
virtual ::Ice::Instrumentation::ThreadObserverPtr getThreadObserver(const ::std::string&, const ::std::string&, ::Ice::Instrumentation::ThreadState, const ::Ice::Instrumentation::ThreadObserverPtr&) = 0;
virtual ::Ice::Instrumentation::InvocationObserverPtr getInvocationObserver(const ::Ice::ObjectPrx&, const ::std::string&, const ::Ice::Context&) = 0;
virtual ::Ice::Instrumentation::DispatchObserverPtr getDispatchObserver(const ::Ice::Current&, ::Ice::Int) = 0;
virtual void setObserverUpdater(const ::Ice::Instrumentation::ObserverUpdaterPtr&) = 0;
};
inline bool operator==(const CommunicatorObserver& l, const CommunicatorObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const CommunicatorObserver& l, const CommunicatorObserver& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
}
}
#endif
|