client; } /** * @return string client port set when binding client to local ip&port */ public function getClientPort() { return $this->clientPort; } /** * @return float Total response timeout (seconds, decimals allowed) */ public function getTimeoutSec() { return $this->timeoutSec; } /** * @return float maximum timeout when establishing connection (seconds, decimals allowed) */ public function getConnectTimeoutSec() { return $this->connectTimeoutSec; } /** * @return float read timeout (seconds, decimals allowed) */ public function getReadTimeoutSec() { return $this->readTimeoutSec; } /** * @return float maximum timeout for write operation on connection (seconds, decimals allowed) */ public function getWriteTimeoutSec() { return $this->writeTimeoutSec; } /** * @return string network protocol (TCP, UDP) */ public function getProtocol() { return $this->protocol; } /** * @return string Modbus device IP address */ public function getHost() { return $this->host; } /** * @return string gateway port */ public function getPort() { return $this->port; } }