diff options
| author | Gordon Sim <gsim@apache.org> | 2007-08-05 13:25:36 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-08-05 13:25:36 +0000 |
| commit | b2efcb6ed3e1e2104836928cda81ed69f2f24559 (patch) | |
| tree | 392ae403dcb0d32da3edaeaf8a1f497679d9102c /cpp/src/qpid/client/ConnectionHandler.h | |
| parent | b2fadec5d86e278d96112e915e67aec934e91046 (diff) | |
| download | qpid-python-b2efcb6ed3e1e2104836928cda81ed69f2f24559.tar.gz | |
Added first cut of generated client interface.
Old channel interface still supported; shares SessionCore with the new interface.
Todo: allow applications to signal completion of received commands; keywrod args for interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ConnectionHandler.h')
| -rw-r--r-- | cpp/src/qpid/client/ConnectionHandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/ConnectionHandler.h b/cpp/src/qpid/client/ConnectionHandler.h index 50618b50b1..464d0ca26d 100644 --- a/cpp/src/qpid/client/ConnectionHandler.h +++ b/cpp/src/qpid/client/ConnectionHandler.h @@ -61,6 +61,7 @@ class ConnectionHandler : private StateManager, public: typedef boost::function<void()> CloseListener; + typedef boost::function<void(uint16_t, const std::string&)> ErrorListener; ConnectionHandler(); @@ -73,6 +74,7 @@ public: void close(); CloseListener onClose; + ErrorListener onError; }; }} |
