mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:47:34 +00:00
SpiceAgent: Implement FileTransferStatus
messages
This commit is contained in:
parent
476774d681
commit
af91c75080
3 changed files with 115 additions and 0 deletions
|
@ -154,6 +154,13 @@ ErrorOr<void> SpiceAgent::on_message_received()
|
|||
break;
|
||||
}
|
||||
|
||||
case Message::Type::FileTransferStatus: {
|
||||
auto message = TRY(FileTransferStatusMessage::read_from_stream(stream));
|
||||
dbgln("File transfer {} has been cancelled: {}", message.id(), message.status());
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case Message::Type::FileTransferStart: {
|
||||
auto message = TRY(FileTransferStartMessage::read_from_stream(stream));
|
||||
dbgln("File transfer request received: {}", TRY(message.debug_description()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue