Package com.barchart.udt.nio
Class NioOutputStreamUDT
java.lang.Object
java.io.OutputStream
com.barchart.udt.nio.NioOutputStreamUDT
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
OutputStream for UDT sockets.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNioOutputStreamUDT(SocketChannelUDT channel) Creates a new UDT output stream. -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Field Details
-
channel
-
-
Constructor Details
-
NioOutputStreamUDT
Creates a new UDT output stream.- Parameters:
channel- The UDT socket channel.
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-