summaryrefslogtreecommitdiff
path: root/cpp/src/qmf/ConsoleEngine.h
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-09-17 19:27:52 +0000
committerTed Ross <tross@apache.org>2009-09-17 19:27:52 +0000
commitb792f14784600e7a85b41b5dba12bad8560a9077 (patch)
tree44e22f9dd9784e7c3044b9e53b20a86100ccbb2c /cpp/src/qmf/ConsoleEngine.h
parent54acfabb0ae891b0a777cf09c7b9d8de620ce56f (diff)
downloadqpid-python-b792f14784600e7a85b41b5dba12bad8560a9077.tar.gz
QMF Console
- Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qmf/ConsoleEngine.h')
-rw-r--r--cpp/src/qmf/ConsoleEngine.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/qmf/ConsoleEngine.h b/cpp/src/qmf/ConsoleEngine.h
index 457e83ad58..f04bbcea47 100644
--- a/cpp/src/qmf/ConsoleEngine.h
+++ b/cpp/src/qmf/ConsoleEngine.h
@@ -46,6 +46,7 @@ namespace qmf {
class MethodResponse {
public:
MethodResponse(MethodResponseImpl* impl);
+ MethodResponse(const MethodResponse& from);
~MethodResponse();
uint32_t getStatus() const;
const Value* getException() const;
@@ -84,8 +85,7 @@ namespace qmf {
NEW_CLASS = 4,
OBJECT_UPDATE = 5,
EVENT_RECEIVED = 7,
- AGENT_HEARTBEAT = 8,
- METHOD_RESPONSE = 9
+ AGENT_HEARTBEAT = 8
};
EventKind kind;
@@ -96,8 +96,6 @@ namespace qmf {
void* context; // (OBJECT_UPDATE)
Event* event; // (EVENT_RECEIVED)
uint64_t timestamp; // (AGENT_HEARTBEAT)
- uint32_t methodHandle; // (METHOD_RESPONSE)
- MethodResponse* methodResponse; // (METHOD_RESPONSE)
QueryResponse* queryResponse; // (QUERY_COMPLETE)
};
@@ -113,15 +111,17 @@ namespace qmf {
UNBIND = 14,
SETUP_COMPLETE = 15,
STABLE = 16,
- QUERY_COMPLETE = 17
+ QUERY_COMPLETE = 17,
+ METHOD_RESPONSE = 18
};
EventKind kind;
- char* name; // ([DECLARE|DELETE]_QUEUE, [UN]BIND)
- char* exchange; // ([UN]BIND)
- char* bindingKey; // ([UN]BIND)
- void* context; // (QUERY_COMPLETE)
- QueryResponse* queryResponse; // (QUERY_COMPLETE)
+ char* name; // ([DECLARE|DELETE]_QUEUE, [UN]BIND)
+ char* exchange; // ([UN]BIND)
+ char* bindingKey; // ([UN]BIND)
+ void* context; // (QUERY_COMPLETE, METHOD_RESPONSE)
+ QueryResponse* queryResponse; // (QUERY_COMPLETE)
+ MethodResponse* methodResponse; // (METHOD_RESPONSE)
};
/**