Package com.zebra.sdk.comm
Interface StatusConnectionWithWriteLogging
- All Superinterfaces:
Connection,StatusConnection
- All Known Implementing Classes:
ConnectionStatusA,RemoteStatusConnection,TcpStatusConnection,TlsStatusConnection
A status connection to a Link-OS printer. The status connection requires Link-OS firmware 2.5 or higher. This
connection will not block the printing channel, nor can it print. It copies data sent to the connection to the
provided stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddWriteLogStream(OutputStream logStream) Adds the OutputStream to the connection to log all data written to the connected device.Methods inherited from interface com.zebra.sdk.comm.Connection
bytesAvailable, close, getConnectionReestablisher, getMaxTimeoutForRead, getSimpleConnectionName, getTimeToWaitForMoreData, isConnected, open, read, read, readChar, sendAndWaitForResponse, sendAndWaitForResponse, sendAndWaitForValidResponse, sendAndWaitForValidResponse, setMaxTimeoutForRead, setTimeToWaitForMoreData, toString, waitForData, write, write, write
-
Method Details
-
addWriteLogStream
Adds the OutputStream to the connection to log all data written to the connected device.- Parameters:
logStream- log all write data to this stream.
-