Exemple #1
0
 private static void OnStartListeningEvent(Object sender, ListeningEventArgs e)
 {
     Console.Out.WriteLine("*****************************************************************************");
     Console.Out.WriteLine("****************** OpenCBS Postilion PostBridge Server Console **************");
     Console.Out.WriteLine(" ");
     Console.Out.WriteLine(" ");
     Console.Out.WriteLine("*****************************************************************************");
     Console.Out.WriteLine("Starts listening port " + e.Port
                           + (e.IPAddress.ToString() != "0.0.0.0" ? " on address " + e.IPAddress : "")
                           + " ...");
 }
Exemple #2
0
 private static void OnStartListeningEvent(Object sender, ListeningEventArgs e)
 {
     Console.Out.WriteLine("*****************************************************************************");
     Console.Out.WriteLine("If you feel   Free.iso8583   is useful, please donate via PayPal by visiting:");
     Console.Out.WriteLine(" ");
     Console.Out.WriteLine("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4ZKPC3URPZ24U");
     Console.Out.WriteLine(" ");
     Console.Out.WriteLine("*****************************************************************************");
     Console.Out.WriteLine("Starts listening port " + e.Port
                           + (e.IPAddress.ToString() != "0.0.0.0" ? " on address " + e.IPAddress : "")
                           + " ...");
 }
 private static void OnDelete(object sender, ListeningEventArgs <MyClass> e)
 {
     data.Remove(e.Item.Id);
     Print();
 }
 private static void OnUpdate(object sender, ListeningEventArgs <MyClass> e)
 {
     data[e.Item.Id] = e.Item;
     Print();
 }
 private static void OnInsert(object sender, ListeningEventArgs <MyClass> e)
 {
     data.Add(e.Item.Id, e.Item);
     Print();
 }
Exemple #6
0
 private void Instance_CodeReceived(object sender, ListeningEventArgs e)
 {
     statusLabel.Text = e.Code;
     Application.DoEvents();
 }
Exemple #7
0
 private static void OnStartListeningEvent(Object sender, ListeningEventArgs e)
 {
     Console.Out.WriteLine("Starts listening port " + e.Port
                           + (e.IPAddress.ToString() != "0.0.0.0" ? " on address " + e.IPAddress : "")
                           + " ...");
 }