State

@objc
public enum State : Int, Comparable, Equatable

State’s of the VPN.

  • Completely disconnected and logged out. *Need to login() to do anything.

    Declaration

    Swift

    case logged_out = 0
  • Transitional state as we log in.

    Declaration

    Swift

    case logging_in = 1
  • Fully authenticated, but not using a speed server. Ready to connect.

    Declaration

    Swift

    case logged_in = 2
  • Transitional state as we automatically select a speed server.

    Declaration

    Swift

    case auto_connecting = 3
  • Transitional state as we connect to speed server.

    Declaration

    Swift

    case connecting = 4
  • Transitional state as we disconnect from speed server.

    Declaration

    Swift

    case disconnecting = 5
  • Really connected to a speed server.

    Declaration

    Swift

    case connected = 6
  • All available adapters are overlimit, VPN still in connected state.

    Declaration

    Swift

    case overlimit = 7
  • Unable to connect to the local Speedify daemon.

    Declaration

    Swift

    case unknown = 8
  • Declaration

    Swift

    public static func < (lhs: `Self`, rhs: `Self`) -> Bool
  • Declaration

    Swift

    public static func == (lhs: `Self`, rhs: `Self`) -> Bool