コード例 #1
0
 private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
 {
     Console.WriteLine(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
     _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
     _endpoint.RegisterForIncomingCall<AudioVideoCall>(OnIncomingCall);
     await _endpoint.EstablishAsync();
     Console.WriteLine("Endpoint established");
     await CreateConference();
     LyncServerReady(this, new EventArgs());
 }
コード例 #2
0
ファイル: LyncServer.cs プロジェクト: tomorgan/PowerShIM
 private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
 {
     log.Info(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
     _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
     _endpoint.RegisterForIncomingCall<InstantMessagingCall>(OnIncomingIM);
     
     await _endpoint.EstablishAsync();
     log.Info("Endpoint established");
    LyncServerReady(this, new EventArgs());
 }
コード例 #3
0
ファイル: LyncServer.cs プロジェクト: tomorgan/QnABot-UCMA
        private async void OnNewApplicationEndpointDiscovered(object sender, ApplicationEndpointSettingsDiscoveredEventArgs e)
        {
            Console.WriteLine(string.Format("New Endpoint {0} discovered", e.ApplicationEndpointSettings.OwnerUri));
            _endpoint = new ApplicationEndpoint(_collabPlatform, e.ApplicationEndpointSettings);
            _endpoint.RegisterForIncomingCall <InstantMessagingCall>(OnIncomingCall);
            await _endpoint.EstablishAsync();

            Console.WriteLine("Endpoint established");
            LyncServerReady(this, new EventArgs());
        }