public class ConnectionDescription extends Object
Constructor and Description |
---|
ConnectionDescription(InetSocketAddress locAddr,
InetSocketAddress rmtAddr,
String protocol,
UUID srvNodeId) |
Modifier and Type | Method and Description |
---|---|
@Nullable InetSocketAddress |
localAddress()
Gets local address of this connection.
|
@Nullable String |
protocol() |
@Nullable InetSocketAddress |
remoteAddress()
Gets address of remote peer of this connection.
|
@Nullable UUID |
serverNodeId() |
public ConnectionDescription(InetSocketAddress locAddr, InetSocketAddress rmtAddr, String protocol, UUID srvNodeId)
locAddr
- Local connection address.rmtAddr
- Remote connection address.protocol
- String representation of a connection protocol details.srvNodeId
- Server node id.@Nullable public @Nullable InetSocketAddress localAddress()
null
if non-socket communication is used.@Nullable public @Nullable InetSocketAddress remoteAddress()
null
if non-socket communication is used.@Nullable public @Nullable UUID serverNodeId()
@Nullable public @Nullable String protocol()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023