Complete rework of packet parsing and packet generation

This commit is contained in:
2024-05-17 22:10:54 +10:00
parent 1650d07d5c
commit 29710c37c2
30 changed files with 1394 additions and 1403 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Classes\FTN;
use App\Models\Echoarea;
use App\Models\{Echoarea,Echomail,Netmail};
/**
* Abstract class to hold the common functions for automatic responding to echomail/netmail messages
@@ -19,8 +19,8 @@ abstract class Process
/**
* Return TRUE if the process class handled the message.
*
* @param Message $msg
* @param Echomail|Netmail $mo
* @return bool
*/
abstract public static function handle(Message $msg): bool;
abstract public static function handle(Echomail|Netmail $mo): bool;
}