Apache Ignite.NET
Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder Class Reference

Multicast-based IP finder. More...

Inheritance diagram for Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder:
Apache.Ignite.Core.Discovery.Tcp.Static.TcpDiscoveryStaticIpFinder Apache.Ignite.Core.Discovery.Tcp.TcpDiscoveryIpFinderBase Apache.Ignite.Core.Discovery.Tcp.ITcpDiscoveryIpFinder

Public Member Functions

 TcpDiscoveryMulticastIpFinder ()
 Initializes a new instance of the TcpDiscoveryMulticastIpFinder class. More...
 
- Public Member Functions inherited from Apache.Ignite.Core.Discovery.Tcp.Static.TcpDiscoveryStaticIpFinder
 TcpDiscoveryStaticIpFinder ()
 Initializes a new instance of the TcpDiscoveryStaticIpFinder class. More...
 

Public Attributes

const int DefaultMulticastPort = 47400
 Default multicast port. More...
 
const int DefaultAddressRequestAttempts = 2
 Default address request attempts. More...
 
const string DefaultMulticastGroup = "228.1.2.4"
 Default multicast group. More...
 

Static Public Attributes

static readonly TimeSpan DefaultResponseTimeout = TimeSpan.FromMilliseconds(500)
 Default response timeout. More...
 

Properties

string LocalAddress [get, set]
 Gets or sets the local address. If provided address is non-loopback then multicast socket is bound to this interface. If local address is not set or is any local address then IP finder creates multicast sockets for all found non-loopback addresses. More...
 
string MulticastGroup [get, set]
 Gets or sets the IP address of the multicast group. More...
 
int MulticastPort [get, set]
 Gets or sets the port number which multicast messages are sent to. More...
 
int AddressRequestAttempts [get, set]
 Gets or sets the number of attempts to send multicast address request. IP finder re-sends request only in case if no reply for previous request is received. More...
 
TimeSpan ResponseTimeout [get, set]
 Gets or sets the response timeout. More...
 
byte TimeToLive [get, set]
 Gets or sets the time to live for multicast packets sent out on this IP finder in order to control the scope of the multicast. More...
 
override byte TypeCode [get]
 Gets the type code to be used in Java to determine ip finder type. More...
 
- Properties inherited from Apache.Ignite.Core.Discovery.Tcp.Static.TcpDiscoveryStaticIpFinder
ICollection< string > Endpoints [get, set]
 Gets or sets the end points. More...
 
override byte TypeCode [get]
 Gets the type code to be used in Java to determine ip finder type. More...
 
- Properties inherited from Apache.Ignite.Core.Discovery.Tcp.TcpDiscoveryIpFinderBase
abstract byte TypeCode [get]
 Gets the type code to be used in Java to determine ip finder type. More...
 

Additional Inherited Members

- Protected Attributes inherited from Apache.Ignite.Core.Discovery.Tcp.TcpDiscoveryIpFinderBase
const byte TypeCodeVmIpFinder = 1
 
const byte TypeCodeMulticastIpFinder = 2
 

Detailed Description

When TCP discovery starts this finder sends multicast request and waits for some time when others nodes reply to this request with messages containing their addresses

Constructor & Destructor Documentation

Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.TcpDiscoveryMulticastIpFinder ( )

Member Data Documentation

const int Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.DefaultAddressRequestAttempts = 2
const string Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.DefaultMulticastGroup = "228.1.2.4"
const int Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.DefaultMulticastPort = 47400
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.DefaultResponseTimeout = TimeSpan.FromMilliseconds(500)
static

Property Documentation

int Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.AddressRequestAttempts
getset
string Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.LocalAddress
getset
string Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.MulticastGroup
getset
int Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.MulticastPort
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.ResponseTimeout
getset
byte Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.TimeToLive
getset
override byte Apache.Ignite.Core.Discovery.Tcp.Multicast.TcpDiscoveryMulticastIpFinder.TypeCode
getprotected