Delegate
internal class Delegate : ConnectivityStateDelegate, ClientErrorDelegate
                Undocumented
- 
                  
                  
A simple struct representing a hardware interface.
See moreDeclaration
Swift
internal struct HardInterface - 
                  
                  
The
hardConnectivityproperty exposes aCurrentValueSubject-Publisherwhich indicates if a network interface is connected and whith which ip address.Declaration
Swift
internal var hardConnectivity: CurrentValueSubject<ET.Delegate.HardInterface, Never> - 
                  
                  
The
softConnectivityproperty exposes aCurrentValueSubject-Publisherwhich indicates the gRPC connectivity.Declaration
Swift
internal var softConnectivity: CurrentValueSubject<ConnectivityState, Never> - 
                  
                  
The
errorproperty exposes aCurrentValueSubject-Publisherwhich indicates if the gRPC library has encountered an error.Declaration
Swift
internal var error: CurrentValueSubject<ET.GRPCErrorProvider?, Never> - 
                  
                  
Initialize hardware connectivity polling mechanism by checking if an interface with ip address
10.0.0.1or192.168.137.1has connected.Declaration
Swift
internal init() - 
                  
                  
Implementation of
ConnectivityStateDelegate.Declaration
Swift
func connectivityStateDidChange(from oldState: ConnectivityState, to newState: ConnectivityState) - 
                  
                  
Implementation of
ConnectivityStateDelegate.Declaration
Swift
func didCatchError(_ error: Error, logger: Logger, file: StaticString, line: Int) - 
                  
                  
Simple cleanup invalidates timer.
Declaration
Swift
deinit