public class SocketChannelIOHelper extends Object
Constructor and Description |
---|
SocketChannelIOHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
batch(WebSocketImpl ws,
ByteChannel sockchannel)
Returns whether the whole outQueue has been flushed
|
static boolean |
read(ByteBuffer buf,
WebSocketImpl ws,
ByteChannel channel) |
static boolean |
readMore(ByteBuffer buf,
WebSocketImpl ws,
WrappedByteChannel channel) |
static void |
writeBlocking(WebSocketImpl ws,
ByteChannel channel) |
public static boolean read(ByteBuffer buf, WebSocketImpl ws, ByteChannel channel) throws IOException
IOException
public static boolean readMore(ByteBuffer buf, WebSocketImpl ws, WrappedByteChannel channel) throws IOException
readMore(ByteBuffer, WebSocketImpl, WrappedByteChannel)
IOException
WrappedByteChannel.readMore(ByteBuffer)
public static boolean batch(WebSocketImpl ws, ByteChannel sockchannel) throws IOException
IOException
public static void writeBlocking(WebSocketImpl ws, ByteChannel channel) throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2013. All Rights Reserved.