Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
MessageListener.h
Go to the documentation of this file.
1 /*
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements. See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership. The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License. You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied. See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  */
21 #include <string>
23 
24 #ifndef _MessageListener_
25 #define _MessageListener_
26 
27 #include "qpid/client/Message.h"
28 
29 namespace qpid {
30 namespace client {
31 
88  public:
90 
94  virtual void received(Message& msg) = 0;
95  };
96 
97 }
98 }
99 
100 
101 #endif
#define QPID_CLIENT_CLASS_EXTERN
Implement a subclass of MessageListener and subscribe it using the SubscriptionManager to receive mes...
A message sent to or received from the broker.
Definition: Message.h:115
#define QPID_CLIENT_EXTERN

Qpid C++ API Reference
Generated on Tue Aug 19 2014 for Qpid C++ Client API by doxygen 1.8.7