mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 22:10:17 +00:00
- Replaced `SimpleProtocol` with `TransportProtocol` in `IPCManager`. - Added `DelegateActionManager` to route requests to handlers, starting with `EchoHandler`. - Updated `MediaManagerApplication` to initialize and manage `DelegateActionManager`. - Extended Protocol Buffers schema with `Request` and `Response` definitions. - Enhanced logging for request processing and redesigned response flow.
19 lines
374 B
Protocol Buffer
19 lines
374 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option java_package = "com.mediamanager.protocol";
|
|
option java_outer_classname = "TransportProtocol";
|
|
|
|
package mediamanager;
|
|
|
|
message Request {
|
|
string request_id = 1;
|
|
bytes payload = 2;
|
|
map<string, string> headers = 3;
|
|
}
|
|
|
|
message Response {
|
|
string request_id = 1;
|
|
int32 status_code = 2;
|
|
bytes payload = 3;
|
|
map<string, string> headers = 4;
|
|
} |