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)); }
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); } }