What a network interface, an NXNetworkTime or an NXNetworkResolver sends its target: what happened, and the network it happened to, the time it got, or the host it looked up, if there is one. More...
#import <Network/Network.h>


Instance Methods | |
| (id) | - source |
| Returns what sent it, the NXNetworkInterface, NXNetworkTime or NXNetworkResolver. | |
| (NXNetworkEventType) | - type |
| Returns what happened. | |
| (NXWirelessNetwork *) | - network |
| Returns the network it happened to, or nil, as when a scan's done. | |
| (NXDate *) | - date |
| Returns the time an NXNetworkTime got, in UTC, for NXNetworkEventTime, or nil. | |
| (NXString *) | - host |
| Returns the host name an NXNetworkResolver looked up, for NXNetworkEventResolved and NXNetworkEventUnresolved, or nil. | |
| (NXArray *) | - addresses |
| Returns a copy of its addresses, as strings, for NXNetworkEventResolved, or an empty array for NXNetworkEventUnresolved, or nil. | |
Instance Methods inherited from NXObject | |
| (void) | - dealloc |
| Frees the instance. More... | |
| (NXZone *) | - zone |
| Returns the zone in which the instance was allocated. More... | |
| (id) | - retain |
| Increases the retain count of the receiver. More... | |
| (void) | - release |
| Decreases the retain count of the receiver. More... | |
| (id) | - autorelease |
| Releases the receiver later, when the current autorelease pool of the thread is drained. More... | |
| (id) | - copy |
| Returns a copy which can't be changed by anything else, which the caller owns and has to release. More... | |
| (uintptr_t) | - hash |
| Returns a number for the object, which is the same for objects which are equal by isEqual:. More... | |
| (NXString *) | - description |
| Returns a string which describes the instance, for logging. More... | |
Instance Methods inherited from Object | |
| (id) | - init |
| Initialize the instance, after allocation. More... | |
| (Class) | - class |
| Returns the class of the instance. More... | |
| (Class) | - superclass |
| Returns the superclass of the instance. More... | |
| (BOOL) | - isEqual: |
| Compares the receiver to another object for equality. More... | |
| (BOOL) | - isKindOfClass: |
| Returns a Boolean value that indicates whether the receiver is an instance of a given class. More... | |
| (BOOL) | - conformsTo: |
| Checks if the receiver's class conforms to a protocol. More... | |
Instance Methods inherited from <ObjectProtocol> | |
| (BOOL) | - respondsToSelector: |
| Checks if the receiver responds to a selector. More... | |
Additional Inherited Members | |
Class Methods inherited from NXObject | |
| (id) | + alloc |
| Allocates a new instance in the default zone, or if there isn't one, with sys_calloc(). More... | |
| (id) | + allocWithZone: |
| Allocates a new instance in a specific zone. More... | |
| (id) | + new |
| Allocates and initializes a new instance, as [[cls alloc] init] does. More... | |
| (NXString *) | + description |
| Returns the name of the class. | |
Class Methods inherited from Object | |
| (void) | + initialize |
| Performs one-time initialization for the class. More... | |
| (Class) | + class |
| Returns the class object. More... | |
| (Class) | + superclass |
| Returns the superclass of the class. More... | |
| (const char *) | + name |
| Returns the name of the class. More... | |
| (BOOL) | + conformsTo: |
| Checks if the class conforms to a protocol. More... | |
Protected Attributes inherited from Object | |
| Class | isa |
| A pointer to the object's class structure. More... | |
What a network interface, an NXNetworkTime or an NXNetworkResolver sends its target: what happened, and the network it happened to, the time it got, or the host it looked up, if there is one.
An event can't change, so any number of threads can use it at once.
Definition at line 37 of file NXNetworkEvent.h.