Move packet processing into a job

This commit is contained in:
2023-09-13 20:58:22 +10:00
parent dc86d09894
commit ff8c370d86
4 changed files with 154 additions and 87 deletions

View File

@@ -48,7 +48,7 @@ abstract class Base
// 4 BITS of type
protected const IS_FILE = (1<<0);
protected const IS_PKT = (1<<1);
public const IS_PKT = (1<<1);
protected const IS_ARC = (1<<2);
protected const IS_REQ = (1<<3);
protected const IS_TIC = (1<<4);
@@ -79,7 +79,7 @@ abstract class Base
return ($this->ftype&0xff) & $type;
}
protected function whatType(): int
public function whatType(): int
{
static $ext = ['su','mo','tu','we','th','fr','sa','req'];