예제 #1
0
 private void Sink_OnServerRemoved(MediaServerDiscovery sender, CpMediaServer server)
 {
     if (this.OnMediaServersChanged != null)
     {
         this.OnMediaServersChanged(this);
     }
 }
예제 #2
0
 private void Sink_OnServerAdded(MediaServerDiscovery sender, CpMediaServer server)
 {
     if (this.OnMediaServersChanged != null)
     {
         this.OnMediaServersChanged(this);
     }
 }
예제 #3
0
 public CdsContentFinder()
 {
     m_MediaServers = new MediaServerDiscovery(null, null,
                                               new MediaServerDiscovery.Delegate_OnGoodServersChange(Sink_OnServerAdded),
                                               new MediaServerDiscovery.Delegate_OnGoodServersChange(Sink_OnServerRemoved)
                                               );
 }
예제 #4
0
 public CdsContentFinder()
 {
     m_MediaServers = new MediaServerDiscovery(null,null,
       new MediaServerDiscovery.Delegate_OnGoodServersChange(Sink_OnServerAdded),
       new MediaServerDiscovery.Delegate_OnGoodServersChange(Sink_OnServerRemoved)
       );
 }