You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
621 B
35 lines
621 B
// |
|
// 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
|
|
|