State

enum State : Int

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
  • This account has been cut off, usually for quota issues.

    Declaration

    Swift

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

    Declaration

    Swift

    case unknown = 8