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()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024