Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET
Apache Qpid Documentation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
qmf
ConsoleEvent.h
Go to the documentation of this file.
1
#ifndef QMF_CONSOLE_EVENT_H
2
#define QMF_CONSOLE_EVENT_H
3
/*
4
*
5
* Licensed to the Apache Software Foundation (ASF) under one
6
* or more contributor license agreements. See the NOTICE file
7
* distributed with this work for additional information
8
* regarding copyright ownership. The ASF licenses this file
9
* to you under the Apache License, Version 2.0 (the
10
* "License"); you may not use this file except in compliance
11
* with the License. You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing,
16
* software distributed under the License is distributed on an
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
* KIND, either express or implied. See the License for the
19
* specific language governing permissions and limitations
20
* under the License.
21
*
22
*/
23
24
#include <
qmf/ImportExport.h
>
25
#include "
qmf/Handle.h
"
26
#include "
qmf/Agent.h
"
27
#include "
qmf/Data.h
"
28
#include "
qmf/SchemaId.h
"
29
#include "
qpid/types/Variant.h
"
30
31
namespace
qmf {
32
33
#ifndef SWIG
34
template
<
class
>
class
PrivateImplRef;
35
#endif
36
37
class
ConsoleEventImpl;
38
39
enum
ConsoleEventCode
{
40
CONSOLE_AGENT_ADD
= 1,
41
CONSOLE_AGENT_DEL
= 2,
42
CONSOLE_AGENT_RESTART
= 3,
43
CONSOLE_AGENT_SCHEMA_UPDATE
= 4,
44
CONSOLE_AGENT_SCHEMA_RESPONSE
= 5,
45
CONSOLE_EVENT
= 6,
46
CONSOLE_QUERY_RESPONSE
= 7,
47
CONSOLE_METHOD_RESPONSE
= 8,
48
CONSOLE_EXCEPTION
= 9,
49
CONSOLE_SUBSCRIBE_ADD
= 10,
50
CONSOLE_SUBSCRIBE_UPDATE
= 11,
51
CONSOLE_SUBSCRIBE_DEL
= 12,
52
CONSOLE_THREAD_FAILED
= 13
53
};
54
55
enum
AgentDelReason
{
56
AGENT_DEL_AGED
= 1,
57
AGENT_DEL_FILTER
= 2
58
};
59
60
class
QMF_CLASS_EXTERN
ConsoleEvent
:
public
qmf::Handle
<ConsoleEventImpl> {
61
public
:
62
QMF_EXTERN
ConsoleEvent
(ConsoleEventImpl* impl = 0);
63
QMF_EXTERN
ConsoleEvent(
const
ConsoleEvent&);
64
QMF_EXTERN
ConsoleEvent& operator=(
const
ConsoleEvent&);
65
QMF_EXTERN
~ConsoleEvent();
66
67
QMF_EXTERN
ConsoleEventCode
getType()
const
;
68
QMF_EXTERN
uint32_t
getCorrelator()
const
;
69
QMF_EXTERN
Agent
getAgent()
const
;
70
QMF_EXTERN
AgentDelReason
getAgentDelReason()
const
;
71
QMF_EXTERN
uint32_t
getSchemaIdCount()
const
;
72
QMF_EXTERN
SchemaId
getSchemaId(
uint32_t
)
const
;
73
QMF_EXTERN
uint32_t
getDataCount()
const
;
74
QMF_EXTERN
Data
getData(
uint32_t
)
const
;
75
QMF_EXTERN
bool
isFinal()
const
;
76
QMF_EXTERN
const
qpid::types::Variant::Map
& getArguments()
const
;
77
QMF_EXTERN
int
getSeverity()
const
;
78
QMF_EXTERN
uint64_t getTimestamp()
const
;
79
80
#ifndef SWIG
81
private
:
82
friend
class
qmf::PrivateImplRef
<ConsoleEvent>;
83
friend
struct
ConsoleEventImplAccess;
84
#endif
85
};
86
87
}
88
89
#endif
Qpid C++ API Reference
Generated on Thu Mar 28 2013 for Qpid C++ Client API by
1.8.3.1