diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2010-04-11 20:04:49 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2010-04-11 20:04:49 +0000 |
commit | f519b288d61b29ed35be566a297cd3282bcb2820 (patch) | |
tree | bfe503166316aa162f6f98b17ebcf55747379b4b /src/net/sourceforge/opentracking/TrackerEventHandler.java | |
parent | 18c59be852245d9327708c6c15552dafc88e7cf8 (diff) | |
download | trackermap-server-f519b288d61b29ed35be566a297cd3282bcb2820.tar.gz trackermap-server-f519b288d61b29ed35be566a297cd3282bcb2820.tar.bz2 trackermap-server-f519b288d61b29ed35be566a297cd3282bcb2820.zip |
Diffstat (limited to 'src/net/sourceforge/opentracking/TrackerEventHandler.java')
-rw-r--r-- | src/net/sourceforge/opentracking/TrackerEventHandler.java | 6 |
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(); } |