Package org.apache.nifi.remote.io.socket
Class SocketOutput
java.lang.Object
org.apache.nifi.remote.io.socket.SocketOutput
- All Implemented Interfaces:
CommunicationsOutput
-
Field Summary
Modifier and TypeFieldDescriptionprivate final OutputStream
private final ByteCountingOutputStream
private final InterruptableOutputStream
private static final org.slf4j.Logger
private final Socket
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
socket
-
countingOut
-
bufferedOut
-
interruptableOut
-
-
Constructor Details
-
SocketOutput
- Throws:
IOException
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStream
in interfaceCommunicationsOutput
- Throws:
IOException
-
setTimeout
public void setTimeout(int timeout) -
getBytesWritten
public long getBytesWritten()- Specified by:
getBytesWritten
in interfaceCommunicationsOutput
-
interrupt
public void interrupt()
-