Exemplo n.º 1
0
 /**
  * Constructor. Forms a device, identified by a connection_target, with
  * credentials connection_username and connection_password
  *
  * @param string $host                MDM Server ip address, like 1.1.1.1
  * @param int    $port                MDM Server port, like 34000
  * @param string $connection          Connection type, like
  * MDM_CONNECTION_TELNET
  * @param string $connection_target   Something like 1.1.1.1:23 or
  * /dev/cuad0
  * @param string $connection_username Username to log into device
  * @param string $connection_password Password to log into device
  * @param string $schemafile          Absolute path to schema file used to
  * validate responses.
  *
  * @throws Exception on invalid arguments.
  *
  */
 public function __construct($host, $port, $connection, $connection_target, $connection_username, $connection_password, $schemafile)
 {
     parent::__construct($host, $port, MDMZTE9xxx::$MDM_DEVICE_DSLAM_ZTE_9xxx, $connection, $connection_target, $connection_username, $connection_password, $schemafile);
 }
Exemplo n.º 2
0
 /**
  * Constructor. Forms a device, identified by a connection_target, with
  * credentials connection_username and connection_password
  *
  * @param string $host                MDM Server ip address, like 1.1.1.1
  * @param int    $port                MDM Server port, like 34000
  * @param string $connection          Connection type, like
  * MDM_CONNECTION_TELNET
  * @param string $connection_target   Something like 1.1.1.1:23 or
  * /dev/cuad0
  * @param string $connection_username Username to log into device
  * @param string $connection_password Password to log into device
  * @param string $schemafile          Absolute path to schema file used to
  * validate responses.
  *
  * @throws Exception on invalid arguments.
  *
  */
 public function __construct($host, $port, $connection, $connection_target, $connection_username, $connection_password, $schemafile)
 {
     parent::__construct($host, $port, MDMHUAWEIMA5600::$MDM_DEVICE_DSLAM_HUAWEI_MA5600, $connection, $connection_target, $connection_username, $connection_password, $schemafile);
 }