public interface ClientConnection extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
@Nullable InetSocketAddress |
localAddress()
Gets local address of this session.
|
@Nullable InetSocketAddress |
remoteAddress()
Gets address of remote peer on this session.
|
void |
send(ByteBuffer msg,
@Nullable Runnable onDone)
Sends a message.
|
void send(ByteBuffer msg, @Nullable @Nullable Runnable onDone) throws IgniteCheckedException
msg - Message buffer.onDone - Callback to be invoked when asynchronous send operation completes.IgniteCheckedException@Nullable @Nullable InetSocketAddress localAddress()
null if non-socket communication is used.@Nullable @Nullable InetSocketAddress remoteAddress()
null if non-socket communication is used.void close()
close in interface AutoCloseable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023