summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProtocolInstance.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2014-08-07 12:18:42 -0230
committerDwayne Boone <dwayne@zeroc.com>2014-08-07 12:18:42 -0230
commit232fa424a7339659b6ad2cd02fbfe89420457601 (patch)
tree978d9e9286c2915b771f8bea019276ab216eecc4 /cpp/src/Ice/ProtocolInstance.h
parentWindows SSL SChannel implementation & OS X Secure Transport fixes. (diff)
downloadice-232fa424a7339659b6ad2cd02fbfe89420457601.tar.bz2
ice-232fa424a7339659b6ad2cd02fbfe89420457601.tar.xz
ice-232fa424a7339659b6ad2cd02fbfe89420457601.zip
ICE-5457 added ability to set source address for connections
Diffstat (limited to 'cpp/src/Ice/ProtocolInstance.h')
-rw-r--r--cpp/src/Ice/ProtocolInstance.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Ice/ProtocolInstance.h b/cpp/src/Ice/ProtocolInstance.h
index 88d3048b8f1..6a356af9a87 100644
--- a/cpp/src/Ice/ProtocolInstance.h
+++ b/cpp/src/Ice/ProtocolInstance.h
@@ -25,9 +25,9 @@ namespace IceInternal
class ICE_API ProtocolInstance : public IceUtil::Shared
{
public:
-
+
ProtocolInstance(const Ice::CommunicatorPtr&, Ice::Short, const std::string&);
-
+
int traceLevel() const
{
return _traceLevel;
@@ -61,12 +61,13 @@ public:
bool preferIPv6() const;
ProtocolSupport protocolSupport() const;
const std::string& defaultHost() const;
+ const Address& defaultSourceAddress() const;
const Ice::EncodingVersion& defaultEncoding() const;
NetworkProxyPtr networkProxy() const;
size_t messageSizeMax() const;
-
+
std::vector<ConnectorPtr> resolve(const std::string&, int, Ice::EndpointSelectionType, const IPEndpointIPtr&) const;
- void resolve(const std::string&, int, Ice::EndpointSelectionType, const IPEndpointIPtr&,
+ void resolve(const std::string&, int, Ice::EndpointSelectionType, const IPEndpointIPtr&,
const EndpointI_connectorsPtr&) const;
private: