Beispiel #1
0
 /**
  * Constructor
  *
  * @param string $address
  * @param null|string $clientid
  * @throws Exception
  */
 public function __construct($address, $clientid = null)
 {
     # Create Socket Client Object
     $this->socket = new SocketClient($address);
     # New Command Store
     $this->cmdstore = new CMDStore();
     # Check Client ID
     Utility::CheckClientID($clientid);
     $this->clientid = $clientid;
 }