Exemplo n.º 1
0
        private void IFindNode()
        {
            pnCli2Vault_NodeFind req = new pnCli2Vault_NodeFind();
            req.Read(fStream);

            pnVault2Cli_NodeFindReply reply = new pnVault2Cli_NodeFindReply();
            reply.fTransID = req.fTransID;
            try {
                reply.fNodeIDs = IFindNode(req.fPattern);
                reply.fResult = ENetError.kNetSuccess;
            } catch (pnDbException e) {
                reply.fResult = ENetError.kNetErrInternalError;
                Error(e, "VaultNodeFind failed");
            }

            reply.Send(fStream);
        }
Exemplo n.º 2
0
 private void INodeFound()
 {
     pnVault2Cli_NodeFindReply reply = new pnVault2Cli_NodeFindReply();
     reply.Read(fStream);
     FireCallback(reply.fTransID, new object[] { reply.fResult, reply.fNodeIDs, null });
 }