init commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "ConnectionHandler.hpp"
|
||||
#include <iostream>
|
||||
|
||||
void ConnectionHandler::onConnected(AMQP::TcpConnection *connection)
|
||||
{
|
||||
std::cout << "TCP CONNECTED\n";
|
||||
}
|
||||
|
||||
|
||||
void ConnectionHandler::onReady(AMQP::TcpConnection *connection)
|
||||
{
|
||||
std::cout << "AMQP READY\n";
|
||||
}
|
||||
|
||||
void ConnectionHandler::onError(AMQP::TcpConnection *connection, const char *message)
|
||||
{
|
||||
std::cerr << "AMQP error: " << message << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user