Inheritance: Plasma.plNetStruct
コード例 #1
0
ファイル: SessionVault.cs プロジェクト: branan/PlasmaDotNet
        private void IFetchNode()
        {
            pnCli2Auth_VaultNodeFetch req = new pnCli2Auth_VaultNodeFetch();
            req.Read(fStream);

            // We'll inspect the node for perms once it is fetched
            fVaultCli.FetchNode(req.fNodeID, new pnCallback(new pnVaultNodeFetched(IOnNodeFetched), req.fTransID));
        }
コード例 #2
0
ファイル: AuthClient.cs プロジェクト: branan/PlasmaDotNet
        public void FetchVaultNode(uint nodeID, pnCallback cb = null)
        {
            pnCli2Auth_VaultNodeFetch req = new pnCli2Auth_VaultNodeFetch();
            req.fNodeID = nodeID;
            req.fTransID = GetTransID();

            lock (fStream) {
                if (cb != null)
                    fCallbacks.Add(req.fTransID, cb);
                req.Send(fStream);
            }
        }