Esempio n. 1
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["port"] = "num default|7001";
     $specs["ssl_enabled"] = "bool notNull default|0";
     $specs["ssl_certificate"] = "str";
     $specs["ssl_passphrase"] = "password show|0 loggable|0";
     $specs["iv_passphrase"] = "str show|0 loggable|0";
     return $specs;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["port"] = "num default|514 notNull";
     $props["protocol"] = "enum list|TCP|UDP|TLS default|TCP notNull";
     $props["timeout"] = "num default|5";
     $props["ssl_certificate"] = "str";
     $props["ssl_passphrase"] = "password show|0 loggable|0";
     $props["iv_passphrase"] = "str show|0 loggable|0";
     return $props;
 }