Move rest of NodeControl stuff out of node/ and into control/
This commit is contained in:
parent
4ba4269344
commit
fb22ef053b
10 changed files with 444 additions and 289 deletions
|
@ -28,6 +28,8 @@
|
|||
#ifndef ZT_NODE_HPP
|
||||
#define ZT_NODE_HPP
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "../include/ZeroTierOne.h"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
@ -137,6 +139,30 @@ public:
|
|||
bool online()
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @return True if run() has been called
|
||||
*/
|
||||
bool started()
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @return True if run() has not yet returned
|
||||
*/
|
||||
bool running()
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @return True if initialization phase of startup is complete
|
||||
*/
|
||||
bool initialized()
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @return This node's address (in least significant 40 bits of 64-bit int) or 0 if not yet initialized
|
||||
*/
|
||||
uint64_t address()
|
||||
throw();
|
||||
|
||||
/**
|
||||
* Join a network
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue