Exemple #1
0
 function __construct(host $host, port $port, $domain, $type, $protocol, data\consumer\controller $controller = null)
 {
     parent::__construct($host, $port, $controller);
     $this->domain = $domain;
     $this->type = $type;
     $this->protocol = $protocol;
 }
Exemple #2
0
 function __construct(host $host, port $port, $protocol, data\consumer\controller $controller = null)
 {
     parent::__construct($host, $port, $controller);
     $this->protocol = $protocol;
 }