aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
index f53c01234..14d14f4b6 100644
--- a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
@@ -45,7 +45,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder {
private byte commandCount;
- private void sendReply(Channel channel, SocketAddress remoteAddress, long deviceId, byte packetNumber) {
+ private void sendResponse(Channel channel, SocketAddress remoteAddress, long deviceId, byte packetNumber) {
if (channel != null) {
ByteBuf reply = Unpooled.buffer(28);
reply.writeByte('M');
@@ -225,7 +225,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder {
}
byte packetNumber = buf.readByte();
- sendReply(channel, remoteAddress, deviceUniqueId, packetNumber);
+ sendResponse(channel, remoteAddress, deviceUniqueId, packetNumber);
if (type == MSG_CLIENT_STATUS) {
return decodeStatus(buf, deviceSession, alternative);