summaryrefslogtreecommitdiff
path: root/java/src/IceSSL/TransceiverI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceSSL/TransceiverI.java')
-rw-r--r--java/src/IceSSL/TransceiverI.java35
1 files changed, 0 insertions, 35 deletions
diff --git a/java/src/IceSSL/TransceiverI.java b/java/src/IceSSL/TransceiverI.java
index 2b43c86285f..560b278dfdf 100644
--- a/java/src/IceSSL/TransceiverI.java
+++ b/java/src/IceSSL/TransceiverI.java
@@ -280,11 +280,6 @@ final class TransceiverI implements IceInternal.Transceiver
_logger.trace(_instance.networkTraceCategory(), s);
}
- if(_stats != null && buf.b.position() > pos)
- {
- _stats.bytesReceived(type(), buf.b.position() - pos);
- }
-
//
// Read and decrypt more data if necessary. Note that we might read
// more data from the socket than is actually necessary to fill the
@@ -332,11 +327,6 @@ final class TransceiverI implements IceInternal.Transceiver
String s = "received " + (buf.b.position() - pos) + " of " + rem + " bytes via ssl\n" + toString();
_logger.trace(_instance.networkTraceCategory(), s);
}
-
- if(_stats != null && buf.b.position() > pos)
- {
- _stats.bytesReceived(type(), buf.b.position() - pos);
- }
}
}
catch(SSLException ex)
@@ -408,14 +398,6 @@ final class TransceiverI implements IceInternal.Transceiver
_engine = engine;
_fd = fd;
_logger = instance.communicator().getLogger();
- try
- {
- _stats = instance.communicator().getStats();
- }
- catch(Ice.CommunicatorDestroyedException ex)
- {
- // Ignore.
- }
_maxPacketSize = 0;
if(System.getProperty("os.name").startsWith("Windows"))
{
@@ -717,11 +699,6 @@ final class TransceiverI implements IceInternal.Transceiver
toString();
_logger.trace(_instance.networkTraceCategory(), s);
}
-
- if(_stats != null)
- {
- _stats.bytesSent(type(), result.bytesConsumed());
- }
}
}
@@ -932,11 +909,6 @@ final class TransceiverI implements IceInternal.Transceiver
String s = "sent " + ret + " of " + packetSize + " bytes via tcp\n" + toString();
_logger.trace(_instance.networkTraceCategory(), s);
}
-
- if(_stats != null)
- {
- _stats.bytesSent(type(), ret);
- }
}
catch(java.io.InterruptedIOException ex)
{
@@ -980,11 +952,6 @@ final class TransceiverI implements IceInternal.Transceiver
String s = "received " + ret + " of " + packetSize + " bytes via tcp\n" + toString();
_logger.trace(_instance.networkTraceCategory(), s);
}
-
- if(_stats != null)
- {
- _stats.bytesReceived(type(), ret);
- }
}
packetSize = buf.b.remaining();
@@ -1013,8 +980,6 @@ final class TransceiverI implements IceInternal.Transceiver
private int _state;
private Ice.Logger _logger;
- @SuppressWarnings("deprecation")
- private Ice.Stats _stats;
private String _desc;
private int _maxPacketSize;
private ByteBuffer _appInput; // Holds clear-text data to be read by the application.