Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
qpid/console/ConsoleListener.h
Go to the documentation of this file.
00001 /*
00002  *
00003  * Licensed to the Apache Software Foundation (ASF) under one
00004  * or more contributor license agreements.  See the NOTICE file
00005  * distributed with this work for additional information
00006  * regarding copyright ownership.  The ASF licenses this file
00007  * to you under the Apache License, Version 2.0 (the
00008  * "License"); you may not use this file except in compliance
00009  * with the License.  You may obtain a copy of the License at
00010  *
00011  *   http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  * Unless required by applicable law or agreed to in writing,
00014  * software distributed under the License is distributed on an
00015  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00016  * KIND, either express or implied.  See the License for the
00017  * specific language governing permissions and limitations
00018  * under the License.
00019  *
00020  */
00021 #ifndef _QPID_CONSOLE_CONSOLE_LISTENER_H_
00022 #define _QPID_CONSOLE_CONSOLE_LISTENER_H_
00023 
00024 #include <string>
00025 #include "qpid/console/ConsoleImportExport.h"
00026 #include "qpid/console/Broker.h"
00027 #include "qpid/console/ClassKey.h"
00028 #include "qpid/console/Object.h"
00029 #include "qpid/console/Event.h"
00030 
00031 namespace qpid {
00032 namespace console {
00033 
00040     class QPID_CONSOLE_EXTERN ConsoleListener{
00041     public:
00042         virtual ~ConsoleListener() {};
00043 
00046         virtual void brokerConnected(const Broker&) {}
00047 
00050         virtual void brokerDisconnected(const Broker&) {}
00051 
00054         virtual void newPackage(const std::string&) {}
00055 
00059         virtual void newClass(const ClassKey&) {}
00060 
00063         virtual void newAgent(const Agent&) {}
00064 
00067         virtual void delAgent(const Agent&) {}
00068 
00071         virtual void objectProps(Broker&, Object&) {}
00072 
00075         virtual void objectStats(Broker&, Object&) {}
00076 
00079         virtual void event(Event&) {}
00080 
00083         //virtual void heartbeat(Agent&, uint64_t) {}
00084 
00087         virtual void brokerInfo(Broker&) {}
00088 
00091         //virtual void methodResponse(Broker&, uint32_t seq, MethodResponse&) {}
00092     };
00093 }
00094 }
00095 
00096 
00097 #endif

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4