NodeStatus.h 622 B

12345678910111213141516171819202122232425
  1. //
  2. // NodeStatus.h
  3. // ZeroTier One
  4. //
  5. // Created by Grant Limberg on 8/4/16.
  6. // Copyright © 2016 ZeroTier, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NodeStatus : NSObject
  10. @property (readonly) NSString *address;
  11. @property (readonly) NSString *publicIdentity;
  12. @property (readonly) BOOL online;
  13. @property (readonly) BOOL tcpFallbackActive;
  14. @property (readonly) int versionMajor;
  15. @property (readonly) int versionMinor;
  16. @property (readonly) int versionRev;
  17. @property (readonly) NSString *version;
  18. @property (readonly) UInt64 clock;
  19. - (id)initWithJsonData:(NSDictionary*)jsonData;
  20. @end