picofuse-objc

NXNetworkResolver.h
Go to the documentation of this file.
1 
5 #pragma once
8 
41 @private
42  void *_dns;
43  id _target;
44  SEL _selector;
45  void *_device;
46  uint32_t _ids[4];
47  NXString *_hosts[4];
48  id _dispatch;
49 }
50 
55 
61 - (BOOL)setTarget:(id)target selector:(SEL)selector;
62 
67 - (BOOL)lookupHost:(NXString *)host;
68 
73 - (BOOL)lookupHost:(NXString *)host IPv6:(BOOL)ipv6;
74 
78 - (BOOL)isAttached;
79 
80 @end
Foundation framework header.
Something which produces events, such as a timer, while it's attached to the application with -[NXApp...
Definition: NXEventSource.h:17
Defines the NXEventSource protocol, for what produces events for an application.
bool BOOL
A Boolean value.
Definition: runtime.h:60
NXNetworkResolver * sharedResolver()
Returns the resolver, or nil if DNS can't be started.
BOOL isAttached()
Returns YES if it's attached, and so can look names up.
A string of UTF-8 text.
Definition: NXString.h:53
The base class for objects in the Foundation framework.
Definition: NXObject.h:28
const struct objc_selector * SEL
A pointer to a method selector.
Definition: runtime.h:23
Looks up host names' addresses with DNS, as an event source of the application, which sends a target ...