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) |
static ISocketChannel |
wrapUnsafe(SocketChannel sc) |
int |
write(ByteBuffer byteBuffer) |
long |
write(ByteBuffer[] byteBuffer) |
static boolean isFastJava8IO()
@NotNull static ISocketChannel wrap(SocketChannel sc)
@NotNull static ISocketChannel wrapUnsafe(SocketChannel sc)
@NotNull SocketChannel socketChannel()
int read(ByteBuffer byteBuffer) throws IOException
IOExceptionint write(ByteBuffer byteBuffer) throws IOException
IOExceptionlong write(ByteBuffer[] byteBuffer) throws IOException
IOException@NotNull Socket socket()
void configureBlocking(boolean blocking)
throws IOException
IOException@NotNull InetSocketAddress getRemoteAddress() throws IORuntimeException
IORuntimeException@NotNull InetSocketAddress getLocalAddress() throws IORuntimeException
IORuntimeExceptionboolean isOpen()
boolean isBlocking()
Copyright © 2019. All rights reserved.