Esempio n. 1
0
        private void IPingPong()
        {
            pnCli2Vault_PingRequest req = new pnCli2Vault_PingRequest();
            req.Read(fStream);

            pnVault2Cli_PingReply reply = new pnVault2Cli_PingReply();
            reply.fPayload = req.fPayload;
            reply.fPingTimeMs = req.fPingTimeMs;
            reply.fTransID = req.fTransID;
            reply.Send(fStream);
        }
Esempio n. 2
0
 private void IPingPong()
 {
     pnVault2Cli_PingReply reply = new pnVault2Cli_PingReply();
     reply.Read(fStream);
     FireCallback(reply.fTransID, new object[] { reply.fPingTimeMs, reply.fPayload, null });
 }