Beispiel #1
0
        public Task <string> EncodeContainersRespAsync(IntPtr auth, ref ContainersReq req, uint reqId, bool isGranted)
        {
            var reqNative = req.ToNative();

            var(ret, userData) = BindingUtils.PrepareTask <string>();
            EncodeContainersRespNative(auth, ref reqNative, reqId, isGranted, userData, DelegateOnFfiResultStringCb);
            reqNative.Free();
            return(ret);
        }
Beispiel #2
0
 public ContainersIpcReq(uint reqId, ContainersReq containersReq)
 {
     ReqId         = reqId;
     ContainersReq = containersReq;
 }