NO-JIRA: c++: Remove un-implemented functions on proton::message.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1b02f6c9 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1b02f6c9 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1b02f6c9 Branch: refs/heads/go1 Commit: 1b02f6c91f18218cc4542a2b65826740faecd36b Parents: 01e136c Author: Alan Conway <[email protected]> Authored: Tue Nov 10 17:58:26 2015 -0500 Committer: Alan Conway <[email protected]> Committed: Tue Nov 10 17:58:26 2015 -0500 ---------------------------------------------------------------------- proton-c/bindings/cpp/include/proton/message.hpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1b02f6c9/proton-c/bindings/cpp/include/proton/message.hpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/include/proton/message.hpp b/proton-c/bindings/cpp/include/proton/message.hpp index d996f85..76bbc19 100644 --- a/proton-c/bindings/cpp/include/proton/message.hpp +++ b/proton-c/bindings/cpp/include/proton/message.hpp @@ -21,10 +21,11 @@ * under the License. * */ + +#include "proton/data.hpp" #include "proton/export.hpp" #include "proton/facade.hpp" #include "proton/message_id.hpp" -#include "proton/data.hpp" #include "proton/pn_unique_ptr.hpp" #include "proton/value.hpp" @@ -105,20 +106,12 @@ class message /** Get a reference to the body data, can be modified in-place. */ PN_CPP_EXTERN data& body(); - // FIXME aconway 2015-11-10: use buffer - /** Encode message into memory starting at buffer.first and ending before buffer.second */ - PN_CPP_EXTERN void encode(std::pair<char*, char*> buffer); - /** Encode into a string, growing the string if necessary. */ PN_CPP_EXTERN void encode(std::string &bytes) const; /** Return encoded message as a string */ PN_CPP_EXTERN std::string encode() const; - // FIXME aconway 2015-11-10: use buffer - /** Decode from memory starting at buffer.first and ending before buffer.second */ - PN_CPP_EXTERN void decode(std::pair<const char*, const char*> buffer); - /** Decode from string data into the message. */ PN_CPP_EXTERN void decode(const std::string &bytes); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
