/usr/include/Ice/ObjectAdapter.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 | // **********************************************************************
//
// 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 `ObjectAdapter.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
#ifndef __Ice_ObjectAdapter_h__
#define __Ice_ObjectAdapter_h__
#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/Exception.h>
#include <Ice/LocalObject.h>
#include <Ice/StreamHelpers.h>
#include <Ice/Proxy.h>
#include <IceUtil/ScopedArray.h>
#include <IceUtil/Optional.h>
#include <Ice/CommunicatorF.h>
#include <Ice/ServantLocatorF.h>
#include <Ice/LocatorF.h>
#include <Ice/Identity.h>
#include <Ice/FacetMap.h>
#include <Ice/Endpoint.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 IceProxy
{
}
namespace Ice
{
class ObjectAdapter;
bool operator==(const ObjectAdapter&, const ObjectAdapter&);
bool operator<(const ObjectAdapter&, const ObjectAdapter&);
ICE_API ::Ice::LocalObject* upCast(::Ice::ObjectAdapter*);
typedef ::IceInternal::Handle< ::Ice::ObjectAdapter> ObjectAdapterPtr;
}
namespace Ice
{
class ICE_API ObjectAdapter : virtual public ::Ice::LocalObject
{
public:
typedef ObjectAdapterPtr PointerType;
virtual ::std::string getName() const = 0;
virtual ::Ice::CommunicatorPtr getCommunicator() const = 0;
virtual void activate() = 0;
virtual void hold() = 0;
virtual void waitForHold() = 0;
virtual void deactivate() = 0;
virtual void waitForDeactivate() = 0;
virtual bool isDeactivated() const = 0;
virtual void destroy() = 0;
virtual ::Ice::ObjectPrx add(const ::Ice::ObjectPtr&, const ::Ice::Identity&) = 0;
virtual ::Ice::ObjectPrx addFacet(const ::Ice::ObjectPtr&, const ::Ice::Identity&, const ::std::string&) = 0;
virtual ::Ice::ObjectPrx addWithUUID(const ::Ice::ObjectPtr&) = 0;
virtual ::Ice::ObjectPrx addFacetWithUUID(const ::Ice::ObjectPtr&, const ::std::string&) = 0;
virtual void addDefaultServant(const ::Ice::ObjectPtr&, const ::std::string&) = 0;
virtual ::Ice::ObjectPtr remove(const ::Ice::Identity&) = 0;
virtual ::Ice::ObjectPtr removeFacet(const ::Ice::Identity&, const ::std::string&) = 0;
virtual ::Ice::FacetMap removeAllFacets(const ::Ice::Identity&) = 0;
virtual ::Ice::ObjectPtr removeDefaultServant(const ::std::string&) = 0;
virtual ::Ice::ObjectPtr find(const ::Ice::Identity&) const = 0;
virtual ::Ice::ObjectPtr findFacet(const ::Ice::Identity&, const ::std::string&) const = 0;
virtual ::Ice::FacetMap findAllFacets(const ::Ice::Identity&) const = 0;
virtual ::Ice::ObjectPtr findByProxy(const ::Ice::ObjectPrx&) const = 0;
virtual void addServantLocator(const ::Ice::ServantLocatorPtr&, const ::std::string&) = 0;
virtual ::Ice::ServantLocatorPtr removeServantLocator(const ::std::string&) = 0;
virtual ::Ice::ServantLocatorPtr findServantLocator(const ::std::string&) const = 0;
virtual ::Ice::ObjectPtr findDefaultServant(const ::std::string&) const = 0;
virtual ::Ice::ObjectPrx createProxy(const ::Ice::Identity&) const = 0;
virtual ::Ice::ObjectPrx createDirectProxy(const ::Ice::Identity&) const = 0;
virtual ::Ice::ObjectPrx createIndirectProxy(const ::Ice::Identity&) const = 0;
virtual void setLocator(const ::Ice::LocatorPrx&) = 0;
virtual void refreshPublishedEndpoints() = 0;
virtual ::Ice::EndpointSeq getEndpoints() const = 0;
virtual ::Ice::EndpointSeq getPublishedEndpoints() const = 0;
};
inline bool operator==(const ObjectAdapter& l, const ObjectAdapter& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const ObjectAdapter& l, const ObjectAdapter& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
}
#endif
|