java.lang.Object
com.sun.xml.ws.transport.tcp.io.OutputWriter
NIO utility to flush
ByteBuffer- Author:
- Scott Oaks, Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidflushChannel(SocketChannel socketChannel, ByteBuffer bb) Flush the buffer by looping until theByteBufferis emptystatic voidflushChannel(SocketChannel socketChannel, ByteBuffer[] bb) Flush the buffer by looping until theByteBufferis empty
-
Constructor Details
-
OutputWriter
public OutputWriter()
-
-
Method Details
-
flushChannel
Flush the buffer by looping until theByteBufferis empty- Parameters:
bb- the ByteBuffer to write.- Throws:
IOException
-
flushChannel
Flush the buffer by looping until theByteBufferis empty- Parameters:
bb- the ByteBuffer to write.- Throws:
IOException
-