diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-05-13 18:38:01 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-05-13 18:38:01 -0700 |
commit | af05ce7e7a5275140d6e0a7961462a83e9abee67 (patch) | |
tree | fe4aac1a684d08642bb11286d779608ac915f8ff /src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java | |
parent | a09654ab3c4b540d1c4c768ad4c7ec7c1404332d (diff) | |
download | trackermap-server-af05ce7e7a5275140d6e0a7961462a83e9abee67.tar.gz trackermap-server-af05ce7e7a5275140d6e0a7961462a83e9abee67.tar.bz2 trackermap-server-af05ce7e7a5275140d6e0a7961462a83e9abee67.zip |
Unify response method names
Diffstat (limited to 'src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 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()); |