diff options
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; |