Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-01-25 18:39:41 +0000
committerslewis2005-01-25 18:39:41 +0000
commitc7fa9747b3e4cc6d71b4b3aa842738c8ebdd55b0 (patch)
treeed7b0249ac3a2236ef6dbf0f54feaac3b4d3074f
parent6deba63c54d7da0a1bc725dcca3162359e1a03d0 (diff)
downloadorg.eclipse.ecf-c7fa9747b3e4cc6d71b4b3aa842738c8ebdd55b0.tar.gz
org.eclipse.ecf-c7fa9747b3e4cc6d71b4b3aa842738c8ebdd55b0.tar.xz
org.eclipse.ecf-c7fa9747b3e4cc6d71b4b3aa842738c8ebdd55b0.zip
Removed tracing for ping messages
-rw-r--r--framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
index 42eff182e..d9fa5e534 100644
--- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
+++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
@@ -73,7 +73,6 @@ public final class Client implements ISynchAsynchConnection {
public static final String PROTOCOL = "ecftcp";
public static final Trace debug = Trace.create("connection");
- public static final Trace pingdebug = Trace.create("connectionping");
public static final int SNDR_PRIORITY = Thread.NORM_PRIORITY;
public static final int RCVR_PRIORITY = Thread.NORM_PRIORITY;
// Default close timeout is 1.5 seconds
@@ -421,15 +420,9 @@ public final class Client implements ISynchAsynchConnection {
// Handle asynch messages.
handler.handleAsynchEvent(new AsynchConnectionEvent(this, d));
} else if (rcv instanceof PingMessage) {
- if (Trace.ON && pingdebug != null) {
- pingdebug.msg("recv:" + address + ":" + port + ":" + rcv);
- }
// Handle ping by sending response back immediately
sendIt(pingResp);
} else if (rcv instanceof PingResponseMessage) {
- if (Trace.ON && pingdebug != null) {
- pingdebug.msg("recv:" + address + ":" + port + ":" + rcv);
- }
// Do nothing with ping response
} else
throw new IOException("Invalid message received.");
@@ -475,9 +468,6 @@ public final class Client implements ISynchAsynchConnection {
// interval, then ping
waitForPing = true;
// Actually send ping instance
- if (Trace.ON && pingdebug != null) {
- pingdebug.msg("recv:" + address + ":" + port + ":" + ping);
- }
sendIt(ping);
if (waitForPing) {
try {
@@ -511,9 +501,6 @@ public final class Client implements ISynchAsynchConnection {
break;
}
}
- if (Trace.ON && pingdebug != null) {
- pingdebug.msg("ping:" + address + ":" + port + " terminating");
- }
}
}, "ping:" + address + ":" + port);
}

Back to the top