Example #1
0
 public function __construct($port, $timeout, $max_connection)
 {
     $this->_log =& new FileLog('logs/ftpproxy.log');
     $this->_log->reset();
     $this->_server_daemon =& new BasicServer($port, $timeout, $max_connection);
     parent::__construct($this->_server_daemon);
     $this->_server_daemon->addEventListener($this);
 }
Example #2
0
 public function __construct(IDataSource &$ds, ICaddy &$caddy = null)
 {
     parent::__construct($ds);
     $ds->addEventListener($this);
     $this->_storage =& $ds;
     $this->_caddy =& $caddy;
     $this->_caddy_id = null;
     $this->_date_creation = null;
     $this->_date_update = null;
 }
Example #3
0
 public function __construct(ListenableLog &$log)
 {
     parent::__construct($log);
 }
 public function __construct(AbstractClient &$dispatcher)
 {
     parent::__construct($dispatcher);
     $this->_log =& new FileLog('logs/basicclient.log');
     $this->_log->reset();
 }