28 lines
683 B
C++
28 lines
683 B
C++
#pragma once
|
|
|
|
#include "lib/utils/bts_no_copy.h"
|
|
#include "ClientChannel.h"
|
|
|
|
namespace bts {
|
|
namespace api {
|
|
|
|
class ServiceContext;
|
|
class QuickbusClientChannel : public ClientChannel
|
|
{
|
|
ApiClient* _pclient;
|
|
|
|
public:
|
|
QuickbusClientChannel(Quickbus&, const ServiceContext&, const char* type_name, const char* service_qualifier);
|
|
~QuickbusClientChannel();
|
|
|
|
private:
|
|
BTS_NO_COPY(QuickbusClientChannel);
|
|
|
|
virtual void send_core(const std::string& request_envalope, OnReply on_response) override;
|
|
virtual Unsubscribe subscribe_core(const char* method, const char* qualifier, OnSubscriptionCB cb) override;
|
|
virtual bool is_sync_call_ok() override;
|
|
|
|
};
|
|
|
|
}}//namespace
|