proton/messaging_handler.hpp

Go to the documentation of this file.
00001 #ifndef PROTON_MESSAGING_HANDLER_HPP
00002 #define PROTON_MESSAGING_HANDLER_HPP
00003 
00004 /*
00005  *
00006  * Licensed to the Apache Software Foundation (ASF) under one
00007  * or more contributor license agreements.  See the NOTICE file
00008  * distributed with this work for additional information
00009  * regarding copyright ownership.  The ASF licenses this file
00010  * to you under the Apache License, Version 2.0 (the
00011  * "License"); you may not use this file except in compliance
00012  * with the License.  You may obtain a copy of the License at
00013  *
00014  *   http://www.apache.org/licenses/LICENSE-2.0
00015  *
00016  * Unless required by applicable law or agreed to in writing,
00017  * software distributed under the License is distributed on an
00018  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00019  * KIND, either express or implied.  See the License for the
00020  * specific language governing permissions and limitations
00021  * under the License.
00022  *
00023  */
00024 
00025 #include "./fwd.hpp"
00026 #include "./internal/export.hpp"
00027 
00030 
00031 namespace proton {
00032 
00033 
00068 class
00069 PN_CPP_CLASS_EXTERN messaging_handler {
00070   public:
00071     PN_CPP_EXTERN messaging_handler();
00072     PN_CPP_EXTERN virtual ~messaging_handler();
00073 
00078     PN_CPP_EXTERN virtual void on_container_start(container&);
00079 
00084     PN_CPP_EXTERN virtual void on_container_stop(container&);
00085 
00087     PN_CPP_EXTERN virtual void on_message(delivery&, message&);
00088 
00090     PN_CPP_EXTERN virtual void on_sendable(sender&);
00091 
00093     PN_CPP_EXTERN virtual void on_transport_open(transport&);
00094 
00105     PN_CPP_EXTERN virtual void on_transport_close(transport&);
00106 
00118     PN_CPP_EXTERN virtual void on_transport_error(transport&);
00119 
00145     PN_CPP_EXTERN virtual void on_connection_open(connection&);
00146 
00152     PN_CPP_EXTERN virtual void on_connection_close(connection&);
00153 
00164     PN_CPP_EXTERN virtual void on_connection_error(connection&);
00165 
00167     PN_CPP_EXTERN virtual void on_session_open(session&);
00168 
00170     PN_CPP_EXTERN virtual void on_session_close(session&);
00171 
00173     PN_CPP_EXTERN virtual void on_session_error(session&);
00174 
00176     PN_CPP_EXTERN virtual void on_receiver_open(receiver&);
00177 
00179     PN_CPP_EXTERN virtual void on_receiver_detach(receiver&);
00180 
00182     PN_CPP_EXTERN virtual void on_receiver_close(receiver&);
00183 
00185     PN_CPP_EXTERN virtual void on_receiver_error(receiver&);
00186 
00188     PN_CPP_EXTERN virtual void on_sender_open(sender&);
00189 
00191     PN_CPP_EXTERN virtual void on_sender_detach(sender&);
00192 
00194     PN_CPP_EXTERN virtual void on_sender_close(sender&);
00195 
00197     PN_CPP_EXTERN virtual void on_sender_error(sender&);
00198 
00200     PN_CPP_EXTERN virtual void on_tracker_accept(tracker&);
00201 
00203     PN_CPP_EXTERN virtual void on_tracker_reject(tracker&);
00204 
00206     PN_CPP_EXTERN virtual void on_tracker_release(tracker&);
00207 
00209     PN_CPP_EXTERN virtual void on_tracker_settle(tracker&);
00210 
00212     PN_CPP_EXTERN virtual void on_delivery_settle(delivery&);
00213 
00216     PN_CPP_EXTERN virtual void on_sender_drain_start(sender&);
00217 
00220     PN_CPP_EXTERN virtual void on_receiver_drain_finish(receiver&);
00221 
00237     PN_CPP_EXTERN virtual void on_connection_wake(connection&);
00238 
00240     PN_CPP_EXTERN virtual void on_error(const error_condition&);
00241 };
00242 
00243 } // namespace proton
00244 
00245 #endif // PROTON_MESSAGING_HANDLER_HPP

Generated on 30 Jul 2020 for Qpid Proton C++ by  doxygen 1.6.1