Class ZitiIdentity
Inheritance
System.Object
ZitiIdentity
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Ziti.NET.Standard.dll
Syntax
public class ZitiIdentity
Constructors
|
Improve this Doc
View Source
ZitiIdentity(ZitiIdentity.InitOptions)
Declaration
public ZitiIdentity(ZitiIdentity.InitOptions opts)
Parameters
Properties
|
Improve this Doc
View Source
ApplicationContext
Declaration
public object ApplicationContext { get; }
Property Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
ConfigFilePath
Declaration
public string ConfigFilePath { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ControllerConnected
Declaration
public bool ControllerConnected { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ControllerURL
Declaration
public string ControllerURL { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ControllerVersion
Declaration
public string ControllerVersion { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IdentityNameFromController
Declaration
public string IdentityNameFromController { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InitOpts
Declaration
public ZitiIdentity.InitOptions InitOpts { get; }
Property Value
|
Improve this Doc
View Source
InitStats
Declaration
public ZitiStatus InitStats { get; }
Property Value
|
Improve this Doc
View Source
InitStatusError
Declaration
public string InitStatusError { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsRunning
Declaration
public bool IsRunning { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Loop
Declaration
public UVLoop Loop { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void Configure(int refreshInterval)
Parameters
Type |
Name |
Description |
System.Int32 |
refreshInterval |
|
|
Improve this Doc
View Source
GetService(String)
Declaration
public ZitiService GetService(string serviceName)
Parameters
Type |
Name |
Description |
System.String |
serviceName |
|
Returns
|
Improve this Doc
View Source
InitializeAndRun()
Initializes this identity with the NetFoundry network
Declaration
public void InitializeAndRun()
Exceptions
Type |
Condition |
System.Exception |
Thrown when the path to the configuration file no longer exists or if the provided identity file is not valid
|
|
Improve this Doc
View Source
NewConnection(String)
Declaration
public ZitiConnection NewConnection(string serviceName)
Parameters
Type |
Name |
Description |
System.String |
serviceName |
|
Returns
|
Improve this Doc
View Source
Run()
Declaration
|
Improve this Doc
View Source
Run(Int32)
Declaration
public void Run(int refreshInterval)
Parameters
Type |
Name |
Description |
System.Int32 |
refreshInterval |
|
|
Improve this Doc
View Source
RunAsync()
Declaration
public async Task RunAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RunAsync(Int32)
Declaration
public async Task RunAsync(int refreshInterval)
Parameters
Type |
Name |
Description |
System.Int32 |
refreshInterval |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ServiceAvailable(String)
Determines if the provided serviceName is available for this identity
Declaration
public bool ServiceAvailable(string serviceName)
Parameters
Type |
Name |
Description |
System.String |
serviceName |
The service name to verify
|
Returns
Type |
Description |
System.Boolean |
If the service exists - true, false if not
|
|
Improve this Doc
View Source
Shutdown()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration
|
Improve this Doc
View Source
WaitForServices()
Declaration
public async Task WaitForServices()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
WaitSync()
Declaration