public interface ChronicleSocketChannel
extends net.openhft.chronicle.core.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
bind(InetSocketAddress localAddress) |
static ChronicleSocketChannelBuilder |
builder(InetSocketAddress socketAddress) |
void |
configureBlocking(boolean blocking) |
void |
connect(InetSocketAddress socketAddress) |
boolean |
finishConnect() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
boolean |
isBlocking() |
boolean |
isOpen() |
int |
read(ByteBuffer byteBuffer) |
void |
register(Selector selector,
int opConnect) |
void |
setOption(SocketOption<Boolean> soReuseaddr,
boolean b) |
ChronicleSocket |
socket() |
SocketChannel |
socketChannel() |
int |
write(ByteBuffer byteBuffer) |
long |
write(ByteBuffer[] byteBuffers) |
static ChronicleSocketChannelBuilder builder(InetSocketAddress socketAddress)
int read(ByteBuffer byteBuffer) throws IOException
IOExceptionint write(ByteBuffer byteBuffer) throws IOException
IOExceptionlong write(ByteBuffer[] byteBuffers) throws IOException
IOExceptionvoid configureBlocking(boolean blocking)
throws IOException
IOExceptionInetSocketAddress getLocalAddress() throws IOException
IOExceptionvoid bind(InetSocketAddress localAddress) throws IOException
IOExceptionInetSocketAddress getRemoteAddress() throws IOException
IOExceptionboolean isOpen()
boolean isBlocking()
ChronicleSocket socket()
void connect(InetSocketAddress socketAddress) throws IOException
IOExceptionvoid register(Selector selector, int opConnect) throws ClosedChannelException
ClosedChannelExceptionboolean finishConnect()
throws IOException
IOExceptionvoid setOption(SocketOption<Boolean> soReuseaddr, boolean b) throws IOException
IOExceptionSocketChannel socketChannel()
Copyright © 2023. All rights reserved.