diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 11:17:18 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 11:17:18 +1300 |
commit | c8ad5cc5c45ab47abe35e3ad2e4f607d520e627d (patch) | |
tree | a86dd0c94803608b6f72f6a23ecb084d3ec68728 /src/org/traccar/ExtendedObjectDecoder.java | |
parent | 923a49d6bc33f94bf39b8be13c77b1dad4d1dda0 (diff) | |
download | trackermap-server-c8ad5cc5c45ab47abe35e3ad2e4f607d520e627d.tar.gz trackermap-server-c8ad5cc5c45ab47abe35e3ad2e4f607d520e627d.tar.bz2 trackermap-server-c8ad5cc5c45ab47abe35e3ad2e4f607d520e627d.zip |
Implement async reverse geocoding
Diffstat (limited to 'src/org/traccar/ExtendedObjectDecoder.java')
-rw-r--r-- | src/org/traccar/ExtendedObjectDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/ExtendedObjectDecoder.java b/src/org/traccar/ExtendedObjectDecoder.java index b00e04c33..382ef869d 100644 --- a/src/org/traccar/ExtendedObjectDecoder.java +++ b/src/org/traccar/ExtendedObjectDecoder.java @@ -21,7 +21,7 @@ import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelEvent; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelUpstreamHandler; -import static org.jboss.netty.channel.Channels.fireMessageReceived; +import org.jboss.netty.channel.Channels; import org.jboss.netty.channel.MessageEvent; public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler { @@ -42,10 +42,10 @@ public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler { } else if (decodedMessage != null) { if (decodedMessage instanceof Collection) { for (Object o : (Collection) decodedMessage) { - fireMessageReceived(ctx, o, e.getRemoteAddress()); + Channels.fireMessageReceived(ctx, o, e.getRemoteAddress()); } } else { - fireMessageReceived(ctx, decodedMessage, e.getRemoteAddress()); + Channels.fireMessageReceived(ctx, decodedMessage, e.getRemoteAddress()); } } } |