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 
00086 class
00087 PN_CPP_CLASS_EXTERN messaging_handler {
00088   public:
00089     PN_CPP_EXTERN messaging_handler();
00090     PN_CPP_EXTERN virtual ~messaging_handler();
00091 
00096     PN_CPP_EXTERN virtual void on_container_start(container&);
00097 
00102     PN_CPP_EXTERN virtual void on_container_stop(container&);
00103 
00105     PN_CPP_EXTERN virtual void on_message(delivery&, message&);
00106 
00108     PN_CPP_EXTERN virtual void on_sendable(sender&);
00109 
00111     PN_CPP_EXTERN virtual void on_transport_open(transport&);
00112 
00114     PN_CPP_EXTERN virtual void on_transport_close(transport&);
00115 
00118     PN_CPP_EXTERN virtual void on_transport_error(transport&);
00119 
00121     PN_CPP_EXTERN virtual void on_connection_open(connection&);
00122 
00124     PN_CPP_EXTERN virtual void on_connection_close(connection&);
00125 
00127     PN_CPP_EXTERN virtual void on_connection_error(connection&);
00128 
00130     PN_CPP_EXTERN virtual void on_session_open(session&);
00131 
00133     PN_CPP_EXTERN virtual void on_session_close(session&);
00134 
00136     PN_CPP_EXTERN virtual void on_session_error(session&);
00137 
00139     PN_CPP_EXTERN virtual void on_receiver_open(receiver&);
00140 
00142     PN_CPP_EXTERN virtual void on_receiver_detach(receiver&);
00143 
00145     PN_CPP_EXTERN virtual void on_receiver_close(receiver&);
00146 
00148     PN_CPP_EXTERN virtual void on_receiver_error(receiver&);
00149 
00151     PN_CPP_EXTERN virtual void on_sender_open(sender&);
00152 
00154     PN_CPP_EXTERN virtual void on_sender_detach(sender&);
00155 
00157     PN_CPP_EXTERN virtual void on_sender_close(sender&);
00158 
00160     PN_CPP_EXTERN virtual void on_sender_error(sender&);
00161 
00163     PN_CPP_EXTERN virtual void on_tracker_accept(tracker&);
00164 
00166     PN_CPP_EXTERN virtual void on_tracker_reject(tracker&);
00167 
00169     PN_CPP_EXTERN virtual void on_tracker_release(tracker&);
00170 
00172     PN_CPP_EXTERN virtual void on_tracker_settle(tracker&);
00173 
00175     PN_CPP_EXTERN virtual void on_delivery_settle(delivery&);
00176 
00179     PN_CPP_EXTERN virtual void on_sender_drain_start(sender&);
00180 
00183     PN_CPP_EXTERN virtual void on_receiver_drain_finish(receiver&);
00184 
00200     PN_CPP_EXTERN virtual void on_connection_wake(connection&);
00201 
00203     PN_CPP_EXTERN virtual void on_error(const error_condition&);
00204 };
00205 
00206 } // proton
00207 
00208 #endif // PROTON_MESSAGING_HANDLER_HPP

Generated on 17 Jan 2019 for Qpid Proton C++ by  doxygen 1.6.1