package org.apache.jmeter.protocol.tcp.sampler;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TCPOnewayClientImpl extends TCPClientImpl {
    private static final Logger LOGGER = LoggerFactory.getLogger(TCPOnewayClientImpl.class);

    public TCPOnewayClientImpl() {
        LOGGER.debug("Custom tcp client handler created...");
    }

    @Override
    public void write(OutputStream outputStream, InputStream inputStream) throws IOException {
        LOGGER.debug("Write called...");
        super.write(outputStream, inputStream);
    }

    @Override
    public void write(OutputStream outputStream, String s) throws IOException {
        LOGGER.debug("Write called...");
        super.write(outputStream, s);
    }

    @Override
    public String read(InputStream inputStream) throws ReadException {
        LOGGER.debug("Read called...");
        return "";
    }
}

@@ -576,32 +576,46 @@
 ug(%22Write called
+ (InputStream)
 ...%22);%0A        s
@@ -784,24 +784,33 @@
 Write called
+ (String)
 ...%22);%0A     

Update of logging