mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 13:54:15 -07:00
Replace NodeStatus object with Obj-C Class
This commit is contained in:
parent
a08246ce5d
commit
7a12d8193b
5 changed files with 63 additions and 63 deletions
25
ZeroTier One/NodeStatus.h
Normal file
25
ZeroTier One/NodeStatus.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
//
|
||||
// NodeStatus.h
|
||||
// ZeroTier One
|
||||
//
|
||||
// Created by Grant Limberg on 8/4/16.
|
||||
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NodeStatus : NSObject
|
||||
|
||||
@property (readonly) NSString *address;
|
||||
@property (readonly) NSString *publicIdentity;
|
||||
@property (readonly) BOOL online;
|
||||
@property (readonly) BOOL tcpFallbackActive;
|
||||
@property (readonly) int versionMajor;
|
||||
@property (readonly) int versionMinor;
|
||||
@property (readonly) int versionRev;
|
||||
@property (readonly) NSString *version;
|
||||
@property (readonly) UInt64 clock;
|
||||
|
||||
- (id)initWithJsonData:(NSDictionary*)jsonData;
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue