public interface SocketChannelWrapper
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SelectableChannel |
configureBlocking(boolean b) |
boolean |
connect(SocketAddress socketAddress) |
boolean |
finishConnect() |
boolean |
isBlocking() |
boolean |
isConnected() |
boolean |
isConnectionPending() |
boolean |
isOpen() |
SelectionKey |
keyFor(Selector selector) |
int |
read(ByteBuffer byteBuffer) |
long |
read(ByteBuffer[] byteBuffers) |
long |
read(ByteBuffer[] byteBuffers,
int i,
int i1) |
SelectionKey |
register(Selector selector,
int i,
Object o) |
Socket |
socket() |
int |
validOps() |
int |
write(ByteBuffer byteBuffer) |
long |
write(ByteBuffer[] byteBuffers) |
long |
write(ByteBuffer[] byteBuffers,
int i,
int i1) |
boolean isBlocking()
int validOps()
Socket socket()
boolean isConnected()
boolean isConnectionPending()
boolean connect(SocketAddress socketAddress) throws IOException
IOExceptionboolean finishConnect()
throws IOException
IOExceptionSelectionKey keyFor(Selector selector)
SelectionKey register(Selector selector, int i, Object o) throws ClosedChannelException
ClosedChannelExceptionint read(ByteBuffer byteBuffer) throws IOException
IOExceptionlong read(ByteBuffer[] byteBuffers, int i, int i1) throws IOException
IOExceptionlong read(ByteBuffer[] byteBuffers) throws IOException
IOExceptionint write(ByteBuffer byteBuffer) throws IOException
IOExceptionlong write(ByteBuffer[] byteBuffers, int i, int i1) throws IOException
IOExceptionlong write(ByteBuffer[] byteBuffers) throws IOException
IOExceptionSelectableChannel configureBlocking(boolean b) throws IOException
IOExceptionboolean isOpen()
void close()
throws IOException
IOExceptionCopyright © 2013 Hazelcast, Inc.. All rights reserved.