public void Resolve() { AV.ServiceResolver resolver = new AV.ServiceResolver(client, service); resolver.Found += OnServiceResolved; }
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; }
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; }
void OnServiceAdded(object o, ServiceInfoArgs args) { ServiceResolver resolver = new ServiceResolver (client, args.Service); resolver.Found += OnServiceResolved; }