houxiao
2017-08-10 dea825c24eea9fa92dd9f0ccf2e24af4ed89683c
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncServer.h
@@ -9,19 +9,25 @@
#include <capnp/ez-rpc.h>
#include "RemoteMethod.capnp.h"
class RtspFaceDetectClient :public RtspFaceDetect::Client{
class RtspFaceDetectClient : public RtspFaceDetect::Client
{
public:
    RtspFaceDetectClient();
    ~RtspFaceDetectClient(){};
    ::kj::WaitScope& getWaitScope();
private:
    capnp::EzRpcClient rpcClient;
};
void startRemoteServer();
RtspFaceDetectClient& getRtspFaceDetectClient();
class RtspFaceViewImpl final : public RtspFaceView::Server {
class RtspFaceViewImpl final : public RtspFaceView::Server
{
public:
    virtual ::kj::Promise<void> getFaceList(GetFaceListContext context) override;
@@ -31,7 +37,6 @@
private:
};
#endif //RTSPNATIVECODEC_REMOTEMETHODSERVER_H