icinga2/jsonrpc/jsonrpcserver.cpp

9 lines
188 B
C++
Raw Normal View History

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