/usr/include/Ice/Connection.h is in libzeroc-ice35-dev 3.5.1-5.2.
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 | // **********************************************************************
//
// 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 `Connection.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
#ifndef __Ice_Connection_h__
#define __Ice_Connection_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 <Ice/OutgoingAsync.h>
#include <IceUtil/ScopedArray.h>
#include <IceUtil/Optional.h>
#include <Ice/ObjectAdapterF.h>
#include <Ice/Identity.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 Ice
{
class ConnectionInfo;
bool operator==(const ConnectionInfo&, const ConnectionInfo&);
bool operator<(const ConnectionInfo&, const ConnectionInfo&);
ICE_API ::Ice::LocalObject* upCast(::Ice::ConnectionInfo*);
typedef ::IceInternal::Handle< ::Ice::ConnectionInfo> ConnectionInfoPtr;
class Connection;
bool operator==(const Connection&, const Connection&);
bool operator<(const Connection&, const Connection&);
ICE_API ::Ice::LocalObject* upCast(::Ice::Connection*);
typedef ::IceInternal::Handle< ::Ice::Connection> ConnectionPtr;
class IPConnectionInfo;
bool operator==(const IPConnectionInfo&, const IPConnectionInfo&);
bool operator<(const IPConnectionInfo&, const IPConnectionInfo&);
ICE_API ::Ice::LocalObject* upCast(::Ice::IPConnectionInfo*);
typedef ::IceInternal::Handle< ::Ice::IPConnectionInfo> IPConnectionInfoPtr;
class TCPConnectionInfo;
bool operator==(const TCPConnectionInfo&, const TCPConnectionInfo&);
bool operator<(const TCPConnectionInfo&, const TCPConnectionInfo&);
ICE_API ::Ice::LocalObject* upCast(::Ice::TCPConnectionInfo*);
typedef ::IceInternal::Handle< ::Ice::TCPConnectionInfo> TCPConnectionInfoPtr;
class UDPConnectionInfo;
bool operator==(const UDPConnectionInfo&, const UDPConnectionInfo&);
bool operator<(const UDPConnectionInfo&, const UDPConnectionInfo&);
ICE_API ::Ice::LocalObject* upCast(::Ice::UDPConnectionInfo*);
typedef ::IceInternal::Handle< ::Ice::UDPConnectionInfo> UDPConnectionInfoPtr;
}
namespace Ice
{
class Callback_Connection_flushBatchRequests_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Connection_flushBatchRequests_Base> Callback_Connection_flushBatchRequestsPtr;
}
namespace Ice
{
class ICE_API ConnectionInfo : virtual public ::Ice::LocalObject
{
public:
typedef ConnectionInfoPtr PointerType;
ConnectionInfo()
{
}
ConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId) :
incoming(__ice_incoming),
adapterName(__ice_adapterName),
connectionId(__ice_connectionId)
{
}
public:
bool incoming;
::std::string adapterName;
::std::string connectionId;
protected:
virtual ~ConnectionInfo() {}
friend class ConnectionInfo__staticInit;
};
class ConnectionInfo__staticInit
{
public:
::Ice::ConnectionInfo _init;
};
static ConnectionInfo__staticInit _ConnectionInfo_init;
inline bool operator==(const ConnectionInfo& l, const ConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const ConnectionInfo& l, const ConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API Connection : virtual public ::Ice::LocalObject
{
public:
typedef ConnectionPtr PointerType;
virtual void close(bool) = 0;
virtual ::Ice::ObjectPrx createProxy(const ::Ice::Identity&) const = 0;
virtual void setAdapter(const ::Ice::ObjectAdapterPtr&) = 0;
virtual ::Ice::ObjectAdapterPtr getAdapter() const = 0;
virtual ::Ice::EndpointPtr getEndpoint() const = 0;
virtual void flushBatchRequests() = 0;
#ifdef ICE_CPP11
virtual ::Ice::AsyncResultPtr begin_flushBatchRequests(const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception, const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>()) = 0;
#endif
virtual ::Ice::AsyncResultPtr begin_flushBatchRequests() = 0;
virtual ::Ice::AsyncResultPtr begin_flushBatchRequests(const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0) = 0;
virtual ::Ice::AsyncResultPtr begin_flushBatchRequests(const ::Ice::Callback_Connection_flushBatchRequestsPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0) = 0;
virtual void end_flushBatchRequests(const ::Ice::AsyncResultPtr&) = 0;
virtual ::std::string type() const = 0;
virtual ::Ice::Int timeout() const = 0;
virtual ::std::string toString() const = 0;
virtual ::Ice::ConnectionInfoPtr getInfo() const = 0;
};
inline bool operator==(const Connection& l, const Connection& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const Connection& l, const Connection& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API IPConnectionInfo : public ::Ice::ConnectionInfo
{
public:
typedef IPConnectionInfoPtr PointerType;
IPConnectionInfo() :
localAddress(""),
localPort(-1),
remoteAddress(""),
remotePort(-1)
{
}
IPConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId, const ::std::string& __ice_localAddress, ::Ice::Int __ice_localPort, const ::std::string& __ice_remoteAddress, ::Ice::Int __ice_remotePort) :
::Ice::ConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId)
,
localAddress(__ice_localAddress),
localPort(__ice_localPort),
remoteAddress(__ice_remoteAddress),
remotePort(__ice_remotePort)
{
}
public:
::std::string localAddress;
::Ice::Int localPort;
::std::string remoteAddress;
::Ice::Int remotePort;
protected:
virtual ~IPConnectionInfo() {}
};
inline bool operator==(const IPConnectionInfo& l, const IPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const IPConnectionInfo& l, const IPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API TCPConnectionInfo : public ::Ice::IPConnectionInfo
{
public:
typedef TCPConnectionInfoPtr PointerType;
TCPConnectionInfo()
{
}
TCPConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId, const ::std::string& __ice_localAddress, ::Ice::Int __ice_localPort, const ::std::string& __ice_remoteAddress, ::Ice::Int __ice_remotePort) :
::Ice::IPConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort)
{
}
virtual ~TCPConnectionInfo() {}
};
inline bool operator==(const TCPConnectionInfo& l, const TCPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const TCPConnectionInfo& l, const TCPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
class ICE_API UDPConnectionInfo : public ::Ice::IPConnectionInfo
{
public:
typedef UDPConnectionInfoPtr PointerType;
UDPConnectionInfo() :
mcastPort(-1)
{
}
UDPConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId, const ::std::string& __ice_localAddress, ::Ice::Int __ice_localPort, const ::std::string& __ice_remoteAddress, ::Ice::Int __ice_remotePort, const ::std::string& __ice_mcastAddress, ::Ice::Int __ice_mcastPort) :
::Ice::IPConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort)
,
mcastAddress(__ice_mcastAddress),
mcastPort(__ice_mcastPort)
{
}
public:
::std::string mcastAddress;
::Ice::Int mcastPort;
protected:
virtual ~UDPConnectionInfo() {}
};
inline bool operator==(const UDPConnectionInfo& l, const UDPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) == static_cast<const ::Ice::LocalObject&>(r);
}
inline bool operator<(const UDPConnectionInfo& l, const UDPConnectionInfo& r)
{
return static_cast<const ::Ice::LocalObject&>(l) < static_cast<const ::Ice::LocalObject&>(r);
}
}
#endif
|