public class FastJ8SocketChannel extends VanillaSocketChannel
socketChannel
FAST_JAVA8_IO
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configureBlocking(boolean blocking) |
boolean |
isBlocking() |
boolean |
isOpen() |
int |
read(ByteBuffer buf) |
int |
write(ByteBuffer byteBuffer) |
getLocalAddress, getRemoteAddress, socket, socketChannel, toString, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFastJava8IO, wrap, wrapUnsafe
public int read(ByteBuffer buf) throws IOException
read
in interface ISocketChannel
read
in class VanillaSocketChannel
IOException
public void configureBlocking(boolean blocking) throws IOException
configureBlocking
in interface ISocketChannel
configureBlocking
in class VanillaSocketChannel
IOException
public boolean isOpen()
isOpen
in interface ISocketChannel
isOpen
in class VanillaSocketChannel
public boolean isBlocking()
isBlocking
in interface ISocketChannel
isBlocking
in class VanillaSocketChannel
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class VanillaSocketChannel
IOException
public int write(ByteBuffer byteBuffer) throws IOException
write
in interface ISocketChannel
write
in class VanillaSocketChannel
IOException
Copyright © 2020. All rights reserved.