diff options
Diffstat (limited to 'cpp/src/Ice/Instance.h')
-rw-r--r-- | cpp/src/Ice/Instance.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.h b/cpp/src/Ice/Instance.h index ac04a172848..e646af622cb 100644 --- a/cpp/src/Ice/Instance.h +++ b/cpp/src/Ice/Instance.h @@ -73,6 +73,8 @@ public: Ice::Int clientACM() const; Ice::Int serverACM() const; void flushBatchRequests(); + Ice::Identity stringToIdentity(const std::string&) const; + std::string identityToString(const Ice::Identity&) const; private: @@ -112,6 +114,23 @@ private: Ice::PluginManagerPtr _pluginManager; }; +class UTF8BufferI : public Ice::UTF8Buffer +{ +public: + + UTF8BufferI(); + ~UTF8BufferI(); + + Ice::Byte* getMoreBytes(size_t howMany, Ice::Byte* firstUnused); + Ice::Byte* getBuffer(); + void reset(); + +private: + + Ice::Byte* _buffer; + size_t _offset; +}; + } #endif |