mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
- Add HeartbeatHandler and enhance EchoHandler for Protocol Buffers support.
- Extend `test.proto` schema with heartbeat and echo message definitions. - Register `HeartbeatHandler` in `DelegateActionManager`. - Refactor Log4j2 configuration to standardize log levels. - Optimize client wait time in `IPCManager` for reduced latency.
This commit is contained in:
parent
a0ad10b1bc
commit
6576b54057
@@ -0,0 +1,24 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "com.mediamanager.protocol";
|
||||
option java_outer_classname = "TestProtocol";
|
||||
|
||||
package mediamanager.test;
|
||||
|
||||
message EchoCommand {
|
||||
string message = 1;
|
||||
}
|
||||
|
||||
message EchoResponse {
|
||||
string message = 1;
|
||||
int64 server_timestamp = 2;
|
||||
}
|
||||
|
||||
message HeartbeatCommand {
|
||||
int64 client_timestamp = 1;
|
||||
}
|
||||
|
||||
message HeartbeatResponse {
|
||||
int64 client_timestamp = 1;
|
||||
int64 server_timestamp = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user