public interface ISocketChannel extends Closeable
Modifier and Type | Field and Description |
---|---|
static boolean |
FAST_JAVA8_IO |
Modifier and Type | Method and Description |
---|---|
void |
configureBlocking(boolean blocking) |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
boolean |
isBlocking() |
static boolean |
isFastJava8IO() |
boolean |
isOpen() |
int |
read(ByteBuffer byteBuffer) |
Socket |
socket() |
SocketChannel |
socketChannel() |
static ISocketChannel |
wrap(SocketChannel sc) |
int |
write(ByteBuffer byteBuffer) |
long |
write(ByteBuffer[] byteBuffer) |
static boolean isFastJava8IO()
@NotNull static ISocketChannel wrap(SocketChannel sc)
@NotNull SocketChannel socketChannel()
int read(ByteBuffer byteBuffer) throws IOException
IOException
int write(ByteBuffer byteBuffer) throws IOException
IOException
long write(ByteBuffer[] byteBuffer) throws IOException
IOException
void configureBlocking(boolean blocking) throws IOException
IOException
@NotNull InetSocketAddress getRemoteAddress() throws IORuntimeException
IORuntimeException
@NotNull InetSocketAddress getLocalAddress() throws IORuntimeException
IORuntimeException
boolean isOpen()
boolean isBlocking()
Copyright © 2018. All rights reserved.