mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Add Protocol Buffers support to IPCManager and Maven build:
- Created `messages.proto` to define `TextMessage` schema. - Integrated Protocol Buffers Java library into Maven dependencies. - Configured Maven plugins for Protocol Buffers compilation and generated source management. - Implemented message serialization and deserialization in `IPCManager`. - Enhanced client handling to process and respond with Protocol Buffers messages.
This commit is contained in:
parent
3854635185
commit
23b6d54674
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "com.mediamanager.protocol";
|
||||
option java_outer_classname = "SimpleProtocol";
|
||||
package mediamanager;
|
||||
|
||||
message TextMessage {
|
||||
string content = 1; // O texto da mensagem
|
||||
}
|
||||
Reference in New Issue
Block a user