Esempio n. 1
0
 /**
  * @return int
  */
 public function getTimeout()
 {
     return $this->config->getConnectionTimeout();
 }
Esempio n. 2
0
 /**
  * getPrivateKeyPassword
  *
  * @return string
  */
 public function getPrivateKeyPassword()
 {
     return $this->config->getPrivateKeyPassword();
 }
Esempio n. 3
0
 /**
  * Build node objects with configuration to use a specific port number
  *
  * @param $port
  * @return $this
  */
 public function onPort($port)
 {
     $this->config->setPort($port);
     return $this;
 }
Esempio n. 4
0
 /**
  * @return int
  */
 public function getStreamTimeout()
 {
     // NB: value represents seconds
     return $this->config->getStreamTimeout();
 }