public function contextLimitCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $limitBytesUpld = limitBase::LIMIT_DISABLED, $limitBytesDwnld = limitBase::LIMIT_DISABLE, $seedLimit = limitBase::LIMIT_DISABLE, $seedTimeout = limitBase::LIMIT_DISABLED, $allContexts = false) { parent::__construct(Command::CN_CLIMIT, $context_id, $allContexts); $this->limitUpld = $limitBytesUpld; $this->limitDwnld = $limitBytesDwnld; $this->seedLimit = $seedLimit; $this->seedTimeout = $seedTimeout; }
public function contextLimitStatusResponseCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $limitBytesUpld = limitBase::LIMIT_DISABLED, $limitBytesDwnld = limitBase::LIMIT_DISABLED, $seedLimit = limitBase::LIMIT_DISABLED, $seedTimeout = limitBase::LIMIT_DISABLED) { parent::__construct(Command::CN_CLIMITSTATUSRSP, $context_id, false); $this->limitUpld = $limitBytesUpld; $this->limitDwnld = $limitBytesDwnld; $this->seedLimit = $seedLimit; $this->seedTimeout = $seedTimeout; }
public function contextAllStatusResponseCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $status = array()) { parent::__construct(Command::CN_CALLSTATUSRSP, $context_id); $this->status = $status; }
public function lastCIDResponseCommand($context_id = contextCommand::UNDEFINED_CONTEXT) { parent::__construct(Command::CN_CLASTRSP, $context_id); }
public function contextMultipleStatusCommand($context_ids = array()) { parent::__construct(Command::CN_CMSTATUS, contextCommand::UNDEFINED_CONTEXT, false); $this->context_ids = $context_ids; }
public function contextStartCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $allContexts = false) { parent::__construct(Command::CN_CSTART, $context_id, $allContexts); }
public function contextAbortCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $eraseData = false, $allContexts = false) { parent::__construct(Command::CN_CABORT, $context_id, $allContexts); $this->eraseData = $eraseData; }
public function contextGetTrackersResponseCommand($list = array()) { parent::__construct(Command::CN_CGETTRACKERSRSP, contextCommand::UNDEFINED_CONTEXT, false); $this->trackers = $list; }
public function contextPeersCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $allContexts = false) { parent::__construct(Command::CN_CPEERS, $context_id, $allContexts); }
public function contextFileInfoCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $allContexts = false) { parent::__construct(Command::CN_CFILEINFO, $context_id, $allContexts); }
public function contextFileInfoResponseCommand($fileinfolist = array()) { parent::__construct(Command::CN_CFILEINFORSP); $this->fileinfolist = $fileinfolist; }
public function contextGetFilesResponseCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $filelist = array()) { parent::__construct(Command::CN_CGETFILESRSP, $context_id, false); $this->filelist = $filelist; }
public function contextLimitStatusCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $allContexts = false) { parent::__construct(Command::CN_CLIMITSTATUS, $context_id, $allContexts); }
public function contextPeersResponseCommand($context_id = contextCommand::UNDEFINED_CONTEXT, $peerlist = array()) { parent::__construct(Command::CN_CPEERSRSP, $context_id, false); $this->peerlist = $peerlist; }