E=MC Square or AB =CD

Window silence met paradigm

/  StatusMenu // //  Created by Michael Jones on 10/10/19. //  Copyright 2010 __Plainware__. All rights reserved. #define urlRequestTimeout 5 //************************************************************************* //  @protocol NASDiscoveryDelegate //************************************************************************* @protocol NASDiscoveryDelegate @optional -(void)serviceDidUpdate; @end // NASDiscoveryDelegate @interface NASDiscovery : NSObject #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 <NSNetServiceBrowserDelegate> #endif { NSNetServiceBrowser *serviceBrowser; NSNetService *service; int resolveCount; NSMutableDictionary *nasDevices; NSMutableArray *resolveQueue; id                  delegate;     BOOL                delegateRespondsToServiceDidUpdate; NSTimer *updateServiceInformationTimer; // NSLock *ServiceInformationLock; NSLock *nasDevicesLock; BOOL foundWDNasDevice; NSDictionary* PreviousDictionary;     NSArray*            modelsOfInterest; } //-1 (id) init; //- (void) startServerBrowserControllerThread; @property (readwrite, retain) NSArray* modelsOfInterest; @property (readwrite, retain) NSNetServiceBrowser* serviceBrowser; – (id) initWithModels:(NSArray*) theModelsOfInterest delegate:(id) theDelegate; // designated initializer – (NSDictionary*) nasDevicesDictionary; – (NSError *) systemInformationForNasDevice: (NSMutableDictionary *) deviceName; – (NSError *) firmwareInfoForNasDevice: (NSMutableDictionary *) deviceName; – (NSError *) storageUsageForNasDevice: (NSMutableDictionary *) deviceName; – (NSError *) systemStateForNasDevice: (NSMutableDictionary *) deviceName; – (NSError *) firmwareUpdateStatusForNasDevice: (NSMutableDictionary *) deviceName; + (NSDictionary*) dictionaryFromXMLNode: (NSXMLNode *)rootNode; – (void) setDelegate: (id<NASDiscoveryDelegate>) object; – (void) updateServiceInformation; @end

Advertisements