| Package | Description |
|---|---|
| one.microstream.com |
| Modifier and Type | Class and Description |
|---|---|
class |
ComExceptionTimeout |
| Modifier and Type | Method and Description |
|---|---|
static SocketChannel |
XSockets.acceptSocketChannel(ServerSocketChannel serverSocketChannel) |
static void |
XSockets.closeChannel(NetworkChannel channel) |
static InetAddress |
XSockets.localHostAddress()
Alias for
InetAddress.getLocalHost(). |
static InetSocketAddress |
XSockets.localHostSocketAddress()
Creates a new
InetSocketAddress instance with XSockets.localHostAddress() and port 0 (ephemeral port). |
static InetSocketAddress |
XSockets.localHostSocketAddress(int port)
Creates a new
InetSocketAddress instance with XSockets.localHostAddress() and the passed port value. |
static SocketChannel |
XSockets.openChannel(InetSocketAddress address) |
static SocketChannel |
XSockets.openChannelLocalhost() |
static SocketChannel |
XSockets.openChannelLocalhost(int port) |
static ServerSocketChannel |
XSockets.openServerSocketChannel(InetSocketAddress address) |
static int |
XSockets.read(SocketChannel channel,
ByteBuffer buffer) |
static ByteBuffer |
XSockets.readCompletely(SocketChannel socketChannel,
ByteBuffer byteBuffer)
This method either read to completely fill the passed
ByteBuffer from position to limit
or it throws an exception to indicate failure. |
static void |
XSockets.readIntoBuffer(SocketChannel channel,
ByteBuffer buffer,
int responseTimeout) |
static ByteBuffer |
XSockets.readIntoBufferKnownLength(SocketChannel channel,
ByteBuffer buffer,
int responseTimeout,
int length) |
static void |
XSockets.write(SocketChannel channel,
ByteBuffer buffer) |
static ByteBuffer |
XSockets.writeCompletely(SocketChannel socketChannel,
ByteBuffer byteBuffer)
This method either writes all of the passed
ByteBuffer's bytes from position to limit
or it throws an exception to indicate failure. |
static void |
XSockets.writeFromBuffer(SocketChannel channel,
ByteBuffer buffer,
int responseTimeout) |
Copyright © 2022 MicroStream Software. All rights reserved.