houxiao
2017-08-10 dea825c24eea9fa92dd9f0ccf2e24af4ed89683c
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h
@@ -7,23 +7,30 @@
#include <string>
#include <capnp/ez-rpc.h>
#include "RemoteMethod.proto.h"
#include "RemoteMethod.capnp.h"
#include "CameraWrapperServer.h"
void startRemoteServer();
class RtspFaceViewClient : RtspFaceView::Client{
class RtspFaceViewClient : RtspFaceView::Client
{
public:
    RtspFaceViewClient();
    ~RtspFaceViewClient(){};
    ::kj::WaitScope& getWaitScope();
   RtspFaceViewClient();
   ~RtspFaceViewClient() {};
   ::kj::WaitScope &getWaitScope();
private:
    capnp::EzRpcClient rpcClient;
   capnp::EzRpcClient rpcClient;
};
const RtspFaceViewClient& getRtspFaceViewClient();
const RtspFaceViewClient &getRtspFaceViewClient();
class RtspFaceDetectImpl final : public RtspFaceDetect::Server{
class RtspFaceDetectImpl final : public RtspFaceDetect::Server
{
public:
    virtual ::kj::Promise<void> fireFaceCountListener(FireFaceCountListenerContext context) override ;
   virtual ::kj::Promise<void> fireFaceCountListener(FireFaceCountListenerContext context) override;
};
#endif //RTSPNATIVECODEC_REMOTEMETHODCLIENT_H