ZeroTierOne/ZeroTier One/NetworkMonitor.h
2016-08-07 17:25:34 -07:00

36 lines
621 B
Objective-C

//
// NetworkMonitor.h
// ZeroTier One
//
// Created by Grant Limberg on 8/7/16.
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
extern NSString * const NetworkUpdateKey;
extern NSString * const StatusUpdateKey;
@class Network;
@interface NetworkMonitor : NSObject
{
NSMutableArray<Network*> *_savedNetworks;
NSArray<Network*> *_receivedNetworks;
NSMutableArray<Network*> *_allNetworks;
NSTimer *_timer;
}
- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)updateNetworkInfo;
- (void)deleteSavedNetwork:(NSString*)networkId;
@end