aboutsummaryrefslogtreecommitdiff
path: root/src/net/sourceforge/opentracking/TrackerEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2010-04-11 20:04:49 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2010-04-11 20:04:49 +0000
commitf519b288d61b29ed35be566a297cd3282bcb2820 (patch)
treebfe503166316aa162f6f98b17ebcf55747379b4b /src/net/sourceforge/opentracking/TrackerEventHandler.java
parent18c59be852245d9327708c6c15552dafc88e7cf8 (diff)
downloadtraccar-server-f519b288d61b29ed35be566a297cd3282bcb2820.tar.gz
traccar-server-f519b288d61b29ed35be566a297cd3282bcb2820.tar.bz2
traccar-server-f519b288d61b29ed35be566a297cd3282bcb2820.zip
Diffstat (limited to 'src/net/sourceforge/opentracking/TrackerEventHandler.java')
-rw-r--r--src/net/sourceforge/opentracking/TrackerEventHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/opentracking/TrackerEventHandler.java b/src/net/sourceforge/opentracking/TrackerEventHandler.java
index 845ba650c..218dd944b 100644
--- a/src/net/sourceforge/opentracking/TrackerEventHandler.java
+++ b/src/net/sourceforge/opentracking/TrackerEventHandler.java
@@ -41,7 +41,7 @@ public class TrackerEventHandler extends SimpleChannelHandler {
@Override
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {
- System.out.println("message recieved");
+ //System.out.println("message recieved");
if (e.getMessage() instanceof Position) {
@@ -49,14 +49,14 @@ public class TrackerEventHandler extends SimpleChannelHandler {
try {
dataManager.writePosition((Position) e.getMessage());
} catch (Exception error) {
- System.out.println("write error");
+ //System.out.println("write error");
}
}
}
@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) {
- System.out.println("error: " + e.getCause().getMessage());
+ //System.out.println("error: " + e.getCause().getMessage());
e.getChannel().close();
}