diff options
Diffstat (limited to 'src/main/java/org/traccar/protocol')
3 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java index dca4b908a..474ceabdc 100644 --- a/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java @@ -56,7 +56,7 @@ public class BlackKiteProtocolDecoder extends BaseProtocolDecoder { private static final int TAG_XT2 = 0x61; private static final int TAG_XT3 = 0x62; - private void sendReply(Channel channel, int checksum) { + private void sendResponse(Channel channel, int checksum) { if (channel != null) { ByteBuf reply = Unpooled.buffer(3); reply.writeByte(0x02); @@ -179,7 +179,7 @@ public class BlackKiteProtocolDecoder extends BaseProtocolDecoder { return null; } - sendReply(channel, buf.readUnsignedShortLE()); + sendResponse(channel, buf.readUnsignedShortLE()); for (Position p : positions) { p.setDeviceId(deviceSession.getDeviceId()); 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); diff --git a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java index 01c55a9ae..5b843324c 100644 --- a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java @@ -96,7 +96,7 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder { return length; } - private void sendReply(Channel channel, int header, int checksum) { + private void sendResponse(Channel channel, int header, int checksum) { if (channel != null) { ByteBuf reply = Unpooled.buffer(3); reply.writeByte(header); @@ -293,7 +293,7 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder { positions.add(position); } - sendReply(channel, 0x02, buf.readUnsignedShortLE()); + sendResponse(channel, 0x02, buf.readUnsignedShortLE()); for (Position p : positions) { p.setDeviceId(deviceSession.getDeviceId()); @@ -334,7 +334,7 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder { } - sendReply(channel, 0x07, buf.readUnsignedShortLE()); + sendResponse(channel, 0x07, buf.readUnsignedShortLE()); return position; } |