/usr/include/IceE/Locator.h is in libicee-dev 1.2.0-6.1ubuntu1.
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 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | // **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice-E version 1.2.0
// Generated from file `Locator.ice'
#ifndef __IceE_Locator_h__
#define __IceE_Locator_h__
#include <IceE/ProxyF.h>
#ifndef ICEE_PURE_CLIENT
# include <IceE/ObjectF.h>
#endif
#include <IceE/Exception.h>
#include <IceE/ScopedArray.h>
#include <IceE/Proxy.h>
#ifndef ICEE_PURE_CLIENT
# include <IceE/Object.h>
# include <IceE/Incoming.h>
#endif
#include <IceE/Outgoing.h>
#include <IceE/UserExceptionFactory.h>
#include <IceE/FactoryTable.h>
#include <IceE/Identity.h>
#include <IceE/UndefSysMacros.h>
#ifndef ICEE_IGNORE_VERSION
# if ICEE_INT_VERSION / 100 != 102
# error IceE version mismatch!
# endif
# if ICEE_INT_VERSION % 100 < 0
# error IceE 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 IceProxy
{
namespace Ice
{
class LocatorRegistry;
class Locator;
}
}
namespace Ice
{
#ifndef ICEE_PURE_CLIENT
class LocatorRegistry;
ICE_API bool operator==(const LocatorRegistry&, const LocatorRegistry&);
ICE_API bool operator<(const LocatorRegistry&, const LocatorRegistry&);
#endif // ICEE_PURE_CLIENT
#ifndef ICEE_PURE_CLIENT
class Locator;
ICE_API bool operator==(const Locator&, const Locator&);
ICE_API bool operator<(const Locator&, const Locator&);
#endif // ICEE_PURE_CLIENT
}
namespace IceInternal
{
#ifndef ICEE_PURE_CLIENT
ICE_API ::Ice::Object* upCast(::Ice::LocatorRegistry*);
#endif // ICEE_PURE_CLIENT
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::LocatorRegistry*);
#ifndef ICEE_PURE_CLIENT
ICE_API ::Ice::Object* upCast(::Ice::Locator*);
#endif // ICEE_PURE_CLIENT
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
}
namespace Ice
{
#ifndef ICEE_PURE_CLIENT
typedef ::IceInternal::Handle< ::Ice::LocatorRegistry> LocatorRegistryPtr;
#endif // ICEE_PURE_CLIENT
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
ICE_API void __read(::IceInternal::BasicStream*, LocatorRegistryPrx&);
#ifndef ICEE_PURE_CLIENT
typedef ::IceInternal::Handle< ::Ice::Locator> LocatorPtr;
#endif // ICEE_PURE_CLIENT
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
ICE_API void __read(::IceInternal::BasicStream*, LocatorPrx&);
}
namespace Ice
{
class ICE_API AdapterNotFoundException : public ::Ice::UserException
{
public:
AdapterNotFoundException() {}
virtual ~AdapterNotFoundException() throw();
virtual ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
};
static AdapterNotFoundException __AdapterNotFoundException_init;
class ICE_API InvalidReplicaGroupIdException : public ::Ice::UserException
{
public:
InvalidReplicaGroupIdException() {}
virtual ~InvalidReplicaGroupIdException() throw();
virtual ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
};
class ICE_API AdapterAlreadyActiveException : public ::Ice::UserException
{
public:
AdapterAlreadyActiveException() {}
virtual ~AdapterAlreadyActiveException() throw();
virtual ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
};
class ICE_API ObjectNotFoundException : public ::Ice::UserException
{
public:
ObjectNotFoundException() {}
virtual ~ObjectNotFoundException() throw();
virtual ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
};
class ICE_API ServerNotFoundException : public ::Ice::UserException
{
public:
ServerNotFoundException() {}
virtual ~ServerNotFoundException() throw();
virtual ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
};
}
namespace Ice
{
#ifndef ICEE_PURE_CLIENT
class ICE_API Locator : virtual public ::Ice::Object
{
public:
typedef LocatorPrx ProxyType;
typedef LocatorPtr PointerType;
virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
static const ::std::string& ice_staticId();
virtual ::Ice::ObjectPrx findObjectById(const ::Ice::Identity&, const ::Ice::Current& = ::Ice::Current()) const = 0;
::IceInternal::DispatchStatus ___findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
virtual ::Ice::ObjectPrx findAdapterById(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const = 0;
::IceInternal::DispatchStatus ___findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&) const;
virtual ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Current& = ::Ice::Current()) const = 0;
::IceInternal::DispatchStatus ___getRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
};
#endif // ICEE_PURE_CLIENT
#ifndef ICEE_PURE_CLIENT
class ICE_API LocatorRegistry : virtual public ::Ice::Object
{
public:
typedef LocatorRegistryPrx ProxyType;
typedef LocatorRegistryPtr PointerType;
virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
static const ::std::string& ice_staticId();
virtual void setAdapterDirectProxy(const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void setReplicatedAdapterDirectProxy(const ::std::string&, const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
};
#endif // ICEE_PURE_CLIENT
}
namespace IceProxy
{
namespace Ice
{
class Locator : virtual public ::IceProxy::Ice::Object
{
public:
::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id)
{
return findObjectById(id, 0);
}
::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Context& __ctx)
{
return findObjectById(id, &__ctx);
}
private:
ICE_API ::Ice::ObjectPrx findObjectById(const ::Ice::Identity&, const ::Ice::Context*);
public:
::Ice::ObjectPrx findAdapterById(const ::std::string& id)
{
return findAdapterById(id, 0);
}
::Ice::ObjectPrx findAdapterById(const ::std::string& id, const ::Ice::Context& __ctx)
{
return findAdapterById(id, &__ctx);
}
private:
ICE_API ::Ice::ObjectPrx findAdapterById(const ::std::string&, const ::Ice::Context*);
public:
::Ice::LocatorRegistryPrx getRegistry()
{
return getRegistry(0);
}
::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context& __ctx)
{
return getRegistry(&__ctx);
}
private:
ICE_API ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context*);
public:
ICE_API static const ::std::string& ice_staticId();
};
class LocatorRegistry : virtual public ::IceProxy::Ice::Object
{
public:
void setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy)
{
setAdapterDirectProxy(id, proxy, 0);
}
void setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& __ctx)
{
setAdapterDirectProxy(id, proxy, &__ctx);
}
private:
ICE_API void setAdapterDirectProxy(const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Context*);
public:
void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& proxy)
{
setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, proxy, 0);
}
void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& __ctx)
{
setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, proxy, &__ctx);
}
private:
ICE_API void setReplicatedAdapterDirectProxy(const ::std::string&, const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Context*);
public:
ICE_API static const ::std::string& ice_staticId();
};
}
}
#endif
|