dest changed as arg input and func name changed

master
Alex 2022-03-15 14:51:20 +01:00
parent f0ab8812a3
commit 1da0a02c78
1 changed files with 2 additions and 2 deletions

View File

@ -162,12 +162,12 @@ public class KraSocketClientProtocol {
} }
// This method is used to send a reply message to the backend that we have received the ack message. // This method is used to send a reply message to the backend that we have received the ack message.
public void replyToBackendThatWeReceivedMessage(SocketClient socketClient, public void replyThatWeReceivedAckMessage(SocketClient socketClient,
KraSocketClientProtocol kraSocketClientProtocol, int cmdID, byte dest, UUID uuid, KraSocketClientProtocol kraSocketClientProtocol, int cmdID, byte dest, UUID uuid,
int cmdNumber) { int cmdNumber) {
KraSocketClientProtocolMessage kraSocketClientProtocolMessage = new KraSocketClientProtocolMessage( KraSocketClientProtocolMessage kraSocketClientProtocolMessage = new KraSocketClientProtocolMessage(
KraSocketClientProtocolStatus.REPLY.getStatus(), cmdID, KraSocketClientProtocolStatus.REPLY.getStatus(), cmdID,
KraSocketClientProtocolDest.BACKEND.getStatus(), uuid, dest, uuid,
cmdNumber, "", null); cmdNumber, "", null);
socketClient.SendMessage(kraSocketClientProtocolMessage); socketClient.SendMessage(kraSocketClientProtocolMessage);