You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/12/02 18:19:41 UTC

qpid-proton git commit: NO-JIRA: c++: remove bogus events from C++ biding.

Repository: qpid-proton
Updated Branches:
  refs/heads/master 0ebf1d40e -> 1ccaf70fb


NO-JIRA: c++: remove bogus events from C++ biding.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1ccaf70f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1ccaf70f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1ccaf70f

Branch: refs/heads/master
Commit: 1ccaf70fbd2d10db298581ab8d885744f0b66983
Parents: 0ebf1d4
Author: Alan Conway <ac...@redhat.com>
Authored: Wed Dec 2 12:19:05 2015 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Wed Dec 2 12:19:18 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/messaging_handler.hpp | 5 -----
 proton-c/bindings/cpp/src/messaging_event.cpp              | 7 -------
 proton-c/bindings/cpp/src/messaging_event.hpp              | 7 -------
 proton-c/bindings/cpp/src/messaging_handler.cpp            | 5 -----
 4 files changed, 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1ccaf70f/proton-c/bindings/cpp/include/proton/messaging_handler.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/messaging_handler.hpp b/proton-c/bindings/cpp/include/proton/messaging_handler.hpp
index e19739e..8fac665 100644
--- a/proton-c/bindings/cpp/include/proton/messaging_handler.hpp
+++ b/proton-c/bindings/cpp/include/proton/messaging_handler.hpp
@@ -58,19 +58,14 @@ class messaging_handler : public proton_handler
     PN_CPP_EXTERN virtual void on_connection_opening(event &e);
     PN_CPP_EXTERN virtual void on_connection_opened(event &e);
     PN_CPP_EXTERN virtual void on_disconnected(event &e);
-    PN_CPP_EXTERN virtual void on_id_loaded(event &e);
     PN_CPP_EXTERN virtual void on_link_closed(event &e);
     PN_CPP_EXTERN virtual void on_link_closing(event &e);
     PN_CPP_EXTERN virtual void on_link_error(event &e);
     PN_CPP_EXTERN virtual void on_link_opened(event &e);
     PN_CPP_EXTERN virtual void on_link_opening(event &e);
     PN_CPP_EXTERN virtual void on_message(event &e);
-    PN_CPP_EXTERN virtual void on_record_inserted(event &e);
-    PN_CPP_EXTERN virtual void on_records_loaded(event &e);
     PN_CPP_EXTERN virtual void on_rejected(event &e);
     PN_CPP_EXTERN virtual void on_released(event &e);
-    PN_CPP_EXTERN virtual void on_request(event &e);
-    PN_CPP_EXTERN virtual void on_response(event &e);
     PN_CPP_EXTERN virtual void on_sendable(event &e);
     PN_CPP_EXTERN virtual void on_session_closed(event &e);
     PN_CPP_EXTERN virtual void on_session_closing(event &e);

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1ccaf70f/proton-c/bindings/cpp/src/messaging_event.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/messaging_event.cpp b/proton-c/bindings/cpp/src/messaging_event.cpp
index b1fedc3..d0ae0f8 100644
--- a/proton-c/bindings/cpp/src/messaging_event.cpp
+++ b/proton-c/bindings/cpp/src/messaging_event.cpp
@@ -155,7 +155,6 @@ void messaging_event::dispatch(handler &h) {
 std::string messaging_event::name() const {
     switch (type()) {
       case PROTON: return pn_event_type_name(pn_event_type_t(proton_event::type()));
-      case ABORT: return "ABORT";
       case ACCEPTED: return "ACCEPTED";
       case COMMIT: return "COMMIT";
       case CONNECTION_CLOSED: return "CONNECTION_CLOSED";
@@ -164,8 +163,6 @@ std::string messaging_event::name() const {
       case CONNECTION_OPENED: return "CONNECTION_OPENED";
       case CONNECTION_OPENING: return "CONNECTION_OPENING";
       case DISCONNECTED: return "DISCONNECTED";
-      case FETCH: return "FETCH";
-      case ID_LOADED: return "ID_LOADED";
       case LINK_CLOSED: return "LINK_CLOSED";
       case LINK_CLOSING: return "LINK_CLOSING";
       case LINK_OPENED: return "LINK_OPENED";
@@ -173,12 +170,8 @@ std::string messaging_event::name() const {
       case LINK_ERROR: return "LINK_ERROR";
       case MESSAGE: return "MESSAGE";
       case QUIT: return "QUIT";
-      case RECORD_INSERTED: return "RECORD_INSERTED";
-      case RECORDS_LOADED: return "RECORDS_LOADED";
       case REJECTED: return "REJECTED";
       case RELEASED: return "RELEASED";
-      case REQUEST: return "REQUEST";
-      case RESPONSE: return "RESPONSE";
       case SENDABLE: return "SENDABLE";
       case SESSION_CLOSED: return "SESSION_CLOSED";
       case SESSION_CLOSING: return "SESSION_CLOSING";

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1ccaf70f/proton-c/bindings/cpp/src/messaging_event.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/messaging_event.hpp b/proton-c/bindings/cpp/src/messaging_event.hpp
index 7d85d2b..2c90c0b 100644
--- a/proton-c/bindings/cpp/src/messaging_event.hpp
+++ b/proton-c/bindings/cpp/src/messaging_event.hpp
@@ -44,7 +44,6 @@ class messaging_event : public proton_event
     /** Event types for a messaging_handler */
     enum event_type {
         PROTON = 0,  // Wrapped pn_event_t
-        ABORT,
         ACCEPTED,
         COMMIT,
         CONNECTION_CLOSED,
@@ -53,8 +52,6 @@ class messaging_event : public proton_event
         CONNECTION_OPENED,
         CONNECTION_OPENING,
         DISCONNECTED,
-        FETCH,
-        ID_LOADED,
         LINK_CLOSED,
         LINK_CLOSING,
         LINK_OPENED,
@@ -62,12 +59,8 @@ class messaging_event : public proton_event
         LINK_ERROR,
         MESSAGE,
         QUIT,
-        RECORD_INSERTED,
-        RECORDS_LOADED,
         REJECTED,
         RELEASED,
-        REQUEST,
-        RESPONSE,
         SENDABLE,
         SESSION_CLOSED,
         SESSION_CLOSING,

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1ccaf70f/proton-c/bindings/cpp/src/messaging_handler.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/messaging_handler.cpp b/proton-c/bindings/cpp/src/messaging_handler.cpp
index babe458..9496440 100644
--- a/proton-c/bindings/cpp/src/messaging_handler.cpp
+++ b/proton-c/bindings/cpp/src/messaging_handler.cpp
@@ -88,19 +88,14 @@ void messaging_handler::on_connection_error(event &e) { on_unhandled(e); }
 void messaging_handler::on_connection_opened(event &e) { on_unhandled(e); }
 void messaging_handler::on_connection_opening(event &e) { on_unhandled(e); }
 void messaging_handler::on_disconnected(event &e) { on_unhandled(e); }
-void messaging_handler::on_id_loaded(event &e) { on_unhandled(e); }
 void messaging_handler::on_link_closed(event &e) { on_unhandled(e); }
 void messaging_handler::on_link_closing(event &e) { on_unhandled(e); }
 void messaging_handler::on_link_error(event &e) { on_unhandled(e); }
 void messaging_handler::on_link_opened(event &e) { on_unhandled(e); }
 void messaging_handler::on_link_opening(event &e) { on_unhandled(e); }
 void messaging_handler::on_message(event &e) { on_unhandled(e); }
-void messaging_handler::on_record_inserted(event &e) { on_unhandled(e); }
-void messaging_handler::on_records_loaded(event &e) { on_unhandled(e); }
 void messaging_handler::on_rejected(event &e) { on_unhandled(e); }
 void messaging_handler::on_released(event &e) { on_unhandled(e); }
-void messaging_handler::on_request(event &e) { on_unhandled(e); }
-void messaging_handler::on_response(event &e) { on_unhandled(e); }
 void messaging_handler::on_sendable(event &e) { on_unhandled(e); }
 void messaging_handler::on_session_closed(event &e) { on_unhandled(e); }
 void messaging_handler::on_session_closing(event &e) { on_unhandled(e); }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org