houxiao
2017-08-17 2b43077d967c28fe99e1ff2b99f19e1433c710d9
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h
@@ -5,26 +5,29 @@
#ifndef RTSPNATIVECODEC_REMOTEMETHODCLIENT_H
#define RTSPNATIVECODEC_REMOTEMETHODCLIENT_H
#include <string>
#include <capnp/message.h>
#include <capnp/serialize-packed.h>
#include <capnp/ez-rpc.h>
#include "RemoteMethod.capnp.h"
#include "CameraWrapperServer.h"
void startRemoteServer();
class RtspFaceViewClient : RtspFaceView::Client
//
class RtspFaceViewClient
{
public:
   RtspFaceViewClient();
   RtspFaceView::Client& getClient();
   ~RtspFaceViewClient() {};
   ::kj::WaitScope &getWaitScope();
   capnp::EzRpcClient* getEzRpcClient();
private:
   capnp::EzRpcClient rpcClient;
   RtspFaceView::Client *client;
   capnp::EzRpcClient* rpcClient;
};
void startRemoteServer();
RtspFaceViewClient* getRtspFaceViewClient();
class RtspFaceDetectImpl final : public RtspFaceDetect::Server