/// <summary>
 /// ServerChangeイベントを発生させます。
 /// </summary>
 protected void OnServerChange(ServerChangeEventArgs e)
 {
     if (ServerChange != null)
     {
         ServerChange(this, e);
     }
 }
 /// <summary>
 /// Tracingイベントを発生させる
 /// </summary>
 /// <param name="e"></param>
 protected void OnTracing(ServerChangeEventArgs e)
 {
     if (Tracing != null)
     {
         Tracing(this, e);
     }
 }
        private void OnTracing(object sender, ServerChangeEventArgs e)
        {
            labelNewName.Text = e.NewBoard.Name;
            labelNewUrl.Text  = e.NewBoard.Url;

            listBoxServ.SelectedIndex = listBoxServ.Items.Add(e.NewBoard);
            buttonGo.Enabled          = true;
        }
Esempio n. 4
0
 private void ServersManager_ServerRemoved(object sender, ServerChangeEventArgs e)
 {
     Tracer.WriteInformation(string.Format(@"Removed: {0}", e.ServerEndPoint.ToString()));
 }
Esempio n. 5
0
 static void ServersManager_ServerAdded(object sender, ServerChangeEventArgs e)
 {
     Console.WriteLine(@"  -   Added: {0}", e.ServerEndPoint.ToString());
 }
Esempio n. 6
0
 private void PeerServer_ServerRemoved(object sender, ServerChangeEventArgs e)
 {
     logger.WriteInformation(string.Format("PEER removed: {0}", e.ServerEndPoint.ToString()));
 }
Esempio n. 7
0
 private void TurnServer_ServerRemoved(object sender, ServerChangeEventArgs e)
 {
     logger.WriteInformation(string.Format("TURN server address removed: {0}", e.ServerEndPoint.ToString()));
 }
Esempio n. 8
0
 private void TurnServer_ServerAdded(object sender, ServerChangeEventArgs e)
 {
     logger.WriteInformation(string.Format("TURN server listen: {0}", e.ServerEndPoint.ToString()));
 }