private void OnMasterChanged(object sender, EndPointEventArgs args)
 {
     var handler = MasterChanged;
     if(handler != null)
     {
         handler(EndPointCollection.ToString(args.EndPoint));
     }
 }
Ejemplo n.º 2
0
 private static void _ConfigurationChangeHandler(object sender, EndPointEventArgs e)
 {
     Console.WriteLine($"Configuration has changed on endpoint: {e.EndPoint}");
 }
Ejemplo n.º 3
0
 static void cnn_ConfigurationChanged(object sender, EndPointEventArgs e)
 {
     //throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 配置更改时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void MuxerConfigurationChanged(object sender, EndPointEventArgs e)
 {
     Console.WriteLine("Configuration changed: " + e.EndPoint);
 }