Lines Matching refs:transport
95 * Stream transport.
221 * Socket transport.
223 * This transport is more low level than stream and supports some extra socket options like
448 * Data transport instance
451 private Transport $transport;
458 * @param Transport $transport Transport
460 public function __construct($host, $port, Transport $transport)
465 $this->transport = $transport;
488 $this->transport->setKeepAlive($socketKeepAlive);
529 $this->transport->setDataTimeout($this->_readWriteTimeout);
547 $this->transport->connect($this->_host, $this->_port, $this->_connectTimeout);
548 $this->transport->setDataTimeout($this->_readWriteTimeout);
671 if ($packet = $this->transport->read(self::HEADER_LEN)) {
678 $this->transport->close();
681 while ($len && $buf = $this->transport->read($len)) {
687 $this->transport->read($resp['paddingLength']);
710 $this->transport->write($this->buildPacket(self::GET_VALUES, $request, 0));
807 if ($this->transport->write($request) === false || $this->transport->flush() === false) {
809 $info = $this->transport->getMetaData();
816 $this->transport->close();
875 $this->transport->setDataTimeout($timeoutMs);
901 $this->transport->setDataTimeout($this->_readWriteTimeout);
907 $info = $this->transport->getMetaData();
910 $this->transport->setDataTimeout($this->_readWriteTimeout);
926 $this->transport->setDataTimeout($this->_readWriteTimeout);