Class NodeInfo
Holds the information about the cluster member nodes. It identifies each member of the cluster uniquely with a combination of the IP Address and port. An instance of this class can not be instantiated. When client applications register the events MemberJoinedCallback or MemberLeftCallback, an instance of NodeInfo is passed in the notification.
Inheritance
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class NodeInfo
Properties
IpAddress
This property specifies the Ip address of the node joining/leaving the cluster.
Declaration
public IPAddress IpAddress { get; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress | It specifies the IP address of the node joining/leaving the cluster. |
Port
This is the port that the members use for the cluster-wide communication.
Declaration
public int Port { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ToString()
This method provides the string representation of NodeInfo.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string representation of NodeInfo. |