changeset 1041:7c0305805185

DatagramConnection.doMakeSSL
author Devel 2
date Tue, 14 Apr 2020 11:29:53 +0200
parents bff9be223040
children 8cef199c9890
files stress-tester/src/main/java/com/passus/st/emitter/ChannelContext.java stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/emitter/ChannelContext.java	Tue Apr 14 09:43:23 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/emitter/ChannelContext.java	Tue Apr 14 11:29:53 2020 +0200
@@ -24,7 +24,7 @@
     }
 
     default void makeSecure() throws IOException {
-        throw new IOException("Secure connection not supported");
+        throw new IOException("Secure connection not supported.");
     }
 
     void write(byte[] data, int offset, int length) throws IOException;
--- a/stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java	Tue Apr 14 09:43:23 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java	Tue Apr 14 11:29:53 2020 +0200
@@ -114,6 +114,11 @@
     }
 
     @Override
+    protected void doMakeSSL() {
+        
+    }
+
+    @Override
     protected int read(ByteBuff buffer) throws IOException {
         socket.receive(readPacket);
         buffer.append(readPacket.getData(), readPacket.getOffset(), readPacket.getLength());