Merge pull request #3 from Edgesystems/master

fix namespace in readme
This commit is contained in:
Martijn Otto 2014-03-20 16:27:43 +01:00
commit 2c0ad5ceb8
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class MyConnectionHandler : public AMQP::ConnectionHandler
* to use.
* @param connection The connection that can now be used
*/
virtual void onConnected(Connection *connection)
virtual void onConnected(AMQP::Connection *connection)
{
// @todo
// add your own implementation, for example by creating a channel
@ -77,7 +77,7 @@ class MyConnectionHandler : public AMQP::ConnectionHandler
* @param connection The connection on which the error occured
* @param message A human readable error message
*/
virtual void onError(Connection *connection, const std::string &message)
virtual void onError(AMQP::Connection *connection, const std::string &message)
{
// @todo
// add your own implementation, for example by reporting the error