diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-04-18 14:33:16 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-04-18 14:33:16 +0200 |
commit | 2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc (patch) | |
tree | 0a381f9b284eb7ca5acc9bca5a97659d19874f9d /cpp/src/Ice/EndpointI.h | |
parent | ICE-4828 - Buffer.h undeclared ptrdiff_t issue on OpenSUSE (diff) | |
download | ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.bz2 ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.xz ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.zip |
Added support for encoding versioning
Diffstat (limited to 'cpp/src/Ice/EndpointI.h')
-rw-r--r-- | cpp/src/Ice/EndpointI.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/src/Ice/EndpointI.h b/cpp/src/Ice/EndpointI.h index 86e415ce344..4273de5af27 100644 --- a/cpp/src/Ice/EndpointI.h +++ b/cpp/src/Ice/EndpointI.h @@ -101,6 +101,16 @@ public: virtual bool secure() const = 0; // + // Returns the encoding version supported by this endpoint. + // + virtual const ::Ice::EncodingVersion& encoding() const; + + // + // Returns the encoding version supported by this endpoint. + // + virtual const ::Ice::ProtocolVersion& protocol() const; + + // // Return a server side transceiver for this endpoint, or null if a // transceiver can only be created by an acceptor. In case a // transceiver is created, this operation also returns a new @@ -148,9 +158,16 @@ protected: virtual std::vector<ConnectorPtr> connectors(const std::vector<struct sockaddr_storage>&) const; friend class EndpointHostResolver; + EndpointI(const Ice::ProtocolVersion&, const Ice::EncodingVersion&); EndpointI(); + + void parseOption(const std::string&, const std::string&, const std::string&, const std::string&); + virtual ::Ice::Int hashInit() const = 0; + const Ice::ProtocolVersion _protocol; + const Ice::EncodingVersion _encoding; + private: mutable bool _hashInitialized; |