icinga2/jsonrpc/jsonrpcserver.cpp

9 lines
188 B
C++
Raw Normal View History

2012-03-28 13:24:49 +02:00
#include "i2-jsonrpc.h"
using namespace icinga;
2012-04-24 14:02:15 +02:00
JsonRpcServer::JsonRpcServer(shared_ptr<SSL_CTX> sslContext)
2012-03-28 13:24:49 +02:00
{
2012-04-24 14:02:15 +02:00
SetClientFactory(bind(&JsonRpcClientFactory, RoleInbound, sslContext));
2012-03-28 13:24:49 +02:00
}