aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-05-13 18:38:01 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-05-13 18:38:01 -0700
commitaf05ce7e7a5275140d6e0a7961462a83e9abee67 (patch)
treefe4aac1a684d08642bb11286d779608ac915f8ff /src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
parenta09654ab3c4b540d1c4c768ad4c7ec7c1404332d (diff)
downloadtrackermap-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.java4
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());