"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/base/netstring.hpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

netstring.hpp  (icinga2-2.11.5):netstring.hpp  (icinga2-2.12.0)
skipping to change at line 29 skipping to change at line 29
* *
* @see https://cr.yp.to/proto/netstrings.txt * @see https://cr.yp.to/proto/netstrings.txt
* *
* @ingroup base * @ingroup base
*/ */
class NetString class NetString
{ {
public: public:
static StreamReadStatus ReadStringFromStream(const Stream::Ptr& stream, S tring *message, StreamReadContext& context, static StreamReadStatus ReadStringFromStream(const Stream::Ptr& stream, S tring *message, StreamReadContext& context,
bool may_wait = false, ssize_t maxMessageLength = -1); bool may_wait = false, ssize_t maxMessageLength = -1);
static String ReadStringFromStream(const std::shared_ptr<AsioTlsStream>& static String ReadStringFromStream(const Shared<AsioTlsStream>::Ptr& stre
stream, ssize_t maxMessageLength = -1); am, ssize_t maxMessageLength = -1);
static String ReadStringFromStream(const std::shared_ptr<AsioTlsStream>& static String ReadStringFromStream(const Shared<AsioTlsStream>::Ptr& stre
stream, am,
boost::asio::yield_context yc, ssize_t maxMessageLength = -1); boost::asio::yield_context yc, ssize_t maxMessageLength = -1);
static size_t WriteStringToStream(const Stream::Ptr& stream, const String & message); static size_t WriteStringToStream(const Stream::Ptr& stream, const String & message);
static size_t WriteStringToStream(const std::shared_ptr<AsioTlsStream>& s static size_t WriteStringToStream(const Shared<AsioTlsStream>::Ptr& strea
tream, const String& message); m, const String& message);
static size_t WriteStringToStream(const std::shared_ptr<AsioTlsStream>& s static size_t WriteStringToStream(const Shared<AsioTlsStream>::Ptr& strea
tream, const String& message, boost::asio::yield_context yc); m, const String& message, boost::asio::yield_context yc);
static void WriteStringToStream(std::ostream& stream, const String& messa ge); static void WriteStringToStream(std::ostream& stream, const String& messa ge);
private: private:
NetString(); NetString();
}; };
} }
#endif /* NETSTRING_H */ #endif /* NETSTRING_H */
 End of changes. 2 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)