public class SocketChannelIOHelper
extends java.lang.Object
| Constructor and Description |
|---|
SocketChannelIOHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
batch(WebSocketImpl ws,
java.nio.channels.ByteChannel sockchannel)
Returns whether the whole outQueue has been flushed
|
static boolean |
read(java.nio.ByteBuffer buf,
WebSocketImpl ws,
java.nio.channels.ByteChannel channel) |
static boolean |
readMore(java.nio.ByteBuffer buf,
WebSocketImpl ws,
WrappedByteChannel channel) |
public static boolean read(java.nio.ByteBuffer buf,
WebSocketImpl ws,
java.nio.channels.ByteChannel channel)
throws java.io.IOException
java.io.IOExceptionpublic static boolean readMore(java.nio.ByteBuffer buf,
WebSocketImpl ws,
WrappedByteChannel channel)
throws java.io.IOException
readMore(ByteBuffer, WebSocketImpl, WrappedByteChannel)java.io.IOExceptionWrappedByteChannel.readMore(ByteBuffer)public static boolean batch(WebSocketImpl ws, java.nio.channels.ByteChannel sockchannel) throws java.io.IOException
java.io.IOException