Package org.apache.ignite.client.events
Class ConnectionDescription
- java.lang.Object
- 
- org.apache.ignite.client.events.ConnectionDescription
 
- 
 public class ConnectionDescription extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description ConnectionDescription(InetSocketAddress locAddr, InetSocketAddress rmtAddr, String protocol, UUID srvNodeId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable InetSocketAddresslocalAddress()Gets local address of this connection.@Nullable Stringprotocol()@Nullable InetSocketAddressremoteAddress()Gets address of remote peer of this connection.@Nullable UUIDserverNodeId()
 
- 
- 
- 
Constructor Detail- 
ConnectionDescriptionpublic ConnectionDescription(InetSocketAddress locAddr, InetSocketAddress rmtAddr, String protocol, UUID srvNodeId) - Parameters:
- locAddr- Local connection address.
- rmtAddr- Remote connection address.
- protocol- String representation of a connection protocol details.
- srvNodeId- Server node id.
 
 
- 
 - 
Method Detail- 
localAddress@Nullable public @Nullable InetSocketAddress localAddress() Gets local address of this connection.- Returns:
- Local network address or nullif non-socket communication is used.
 
 - 
remoteAddress@Nullable public @Nullable InetSocketAddress remoteAddress() Gets address of remote peer of this connection.- Returns:
- Address of remote peer or nullif non-socket communication is used.
 
 - 
serverNodeId@Nullable public @Nullable UUID serverNodeId() - Returns:
- Server node id.
 
 - 
protocol@Nullable public @Nullable String protocol() - Returns:
- String representation of connection protocol.
 
 
- 
 
-