Inheritance: ResolverBase, IDisposable
コード例 #1
0
 public void Resolve()
 {
     AV.ServiceResolver resolver = new AV.ServiceResolver(client, service);
     resolver.Found += OnServiceResolved;
 }
コード例 #2
0
                private void OnServiceAdded (object o, ServiceInfoArgs args)
                {
			// Ignore local services
                        if ((args.Service.Flags & LookupResultFlags.Local) > 0)
                                return;
                        
                        resolver = new ServiceResolver (avahi_client, args.Service);
                        resolver.Found += OnServiceResolved;
                        resolver.Timeout += OnServiceTimeout;
                }
コード例 #3
0
ファイル: AvahiTest.cs プロジェクト: JDsolution/ipnc
 private static void OnServiceAdded(object o, ServiceInfoArgs args)
 {
     // Console.WriteLine ("Got service: " + info.Name);
     ServiceResolver resolver = new ServiceResolver (client, args.Service);
     objects.Add (resolver);
     resolver.Found += OnServiceResolved;
 }
コード例 #4
0
ファイル: ServiceFinder.cs プロジェクト: MrJoe/lat
 void OnServiceAdded(object o, ServiceInfoArgs args)
 {
     ServiceResolver resolver = new ServiceResolver (client, args.Service);
     resolver.Found += OnServiceResolved;
 }
コード例 #5
0
 public void Resolve()
 {
     AV.ServiceResolver resolver = new AV.ServiceResolver(client, service);
     resolver.Found += OnServiceResolved;
 }