Interface ConnectionWithWriteLogging

All Superinterfaces:
Connection
All Known Implementing Classes:
ConnectionA, ConnectionStatusA, DriverPrinterConnection, MultichannelConnection, MultichannelRemoteConnection, MultichannelTcpConnection, MultichannelTlsConnection, RemoteConnection, RemoteStatusConnection, TcpConnection, TcpStatusConnection, TlsConnection, TlsStatusConnection, UsbConnection

public interface ConnectionWithWriteLogging extends Connection
A connection to a device that copies data sent to the connection to the provided stream.
  • Method Details

    • addWriteLogStream

      void addWriteLogStream(OutputStream logStream)
      Adds the OutputStream to the connection to log all data written to the connected device.
      Parameters:
      logStream - log all write data to this stream.