Ejemplo n.º 1
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }
Ejemplo n.º 2
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
     {
         vtb.AppendText("No payments made !\n");
     }
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Ejemplo n.º 3
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
         vtb.AppendText("No payments made !\n");
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Ejemplo n.º 4
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }