Ignore:
Timestamp:
Nov 24, 2020, 10:58:56 AM (3 years ago)
Author:
chronos
Message:
  • Modified: More static types added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php

    r887 r888  
    33class RouterosAPI
    44{
    5   var $ErrorNo;           // Variable for storing connection error number, if any
    6   var $ErrorStr;          // Variable for storing connection error text, if any
    7   var $Attempts;       // Connection attempt count
    8   var $Connected;  // Connection state
    9   var $Delay;          // Delay between connection attempts in seconds
    10   var $Port;        // Port to connect to
    11   var $Timeout;        // Connection attempt timeout and data read timeout
    12   var $Socket;             // Variable for storing socket resource
    13   var $Debug;
    14   var $SSL; // If SSL API connection is used. You need also change port to 8729
     5  public int $ErrorNo;           // Variable for storing connection error number, if any
     6  public string $ErrorStr;          // Variable for storing connection error text, if any
     7  public int $Attempts;       // Connection attempt count
     8  public bool $Connected;  // Connection state
     9  public int $Delay;          // Delay between connection attempts in seconds
     10  public int $Port;        // Port to connect to
     11  public int $Timeout;        // Connection attempt timeout and data read timeout
     12  public int $Socket;             // Variable for storing socket resource
     13  public bool $Debug;
     14  public bool $SSL; // If SSL API connection is used. You need also change port to 8729
    1515
    1616  function __construct()
Note: See TracChangeset for help on using the changeset viewer.