Class TcpNioConnection.ChannelOutputStream
java.lang.Object
java.io.OutputStream
org.springframework.integration.ip.tcp.connection.TcpNioConnection.ChannelOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
TcpNioSSLConnection.SSLChannelOutputStream
- Enclosing class:
TcpNioConnection
OutputStream to wrap a SocketChannel; implements timeout on write.
- Since:
- 2.0
- Author:
- Gary Russell, John Anderson, Artem Bilan, David Herschler Shvo, Christian Tzolov
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Constructor Details
-
ChannelOutputStream
protected ChannelOutputStream()
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
doWrite
- Throws:
IOException
-