ProtocolMessageHandler typedef
ProtocolMessageHandler =
Future<void> Function(Protocol<ProtocolChannel> , int messageId, String type, Uint8List data)
Implementation
typedef ProtocolMessageHandler = Future<void> Function(Protocol, int messageId, String type, Uint8List data);