2012-04-02 08:56:30 +02:00
|
|
|
#ifndef JSONRPCSERVER_H
|
|
|
|
#define JSONRPCSERVER_H
|
2012-03-28 13:24:49 +02:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2012-04-06 08:56:52 +02:00
|
|
|
class I2_JSONRPC_API JsonRpcServer : public TCPServer
|
2012-03-28 13:24:49 +02:00
|
|
|
{
|
|
|
|
public:
|
2012-04-02 20:50:35 +02:00
|
|
|
typedef shared_ptr<JsonRpcServer> Ptr;
|
|
|
|
typedef weak_ptr<JsonRpcServer> WeakPtr;
|
2012-03-28 13:24:49 +02:00
|
|
|
|
2012-04-24 14:02:15 +02:00
|
|
|
JsonRpcServer(shared_ptr<SSL_CTX> sslContext);
|
2012-03-28 13:24:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-02 08:56:30 +02:00
|
|
|
#endif /* JSONRPCSERVER_H */
|