TeamLinkWatcher
Object Hierarchy:
Description:
[ CCode ( ref_function = "nm_team_link_watcher_ref" , type_id = "nm_team_link_watcher_get_type ()" , unref_function = "nm_team_link_watcher_unref" ) ]
[ Compact ]
public class TeamLinkWatcher
[ Compact ]
public class TeamLinkWatcher
Namespace: NM
Package: libnm
Content:
Constants:
Creation methods:
- public TeamLinkWatcher.arp_ping (int init_wait, int interval, int missed_max, string target_host, string source_host, TeamLinkWatcherArpPingFlags flags) throws Error
Creates a new arp_ping TeamLinkWatcher object
- public TeamLinkWatcher.arp_ping2 (int init_wait, int interval, int missed_max, int vlanid, string target_host, string source_host, TeamLinkWatcherArpPingFlags flags) throws Error
Creates a new arp_ping TeamLinkWatcher object
- public TeamLinkWatcher.ethtool (int delay_up, int delay_down) throws Error
Creates a new ethtool TeamLinkWatcher object
- public TeamLinkWatcher.nsna_ping (int init_wait, int interval, int missed_max, string target_host) throws Error
Creates a new nsna_ping TeamLinkWatcher object
Methods:
- public void @ref ()
Increases the reference count of the object.
- public TeamLinkWatcher dup ()
Creates a copy of this
- public bool equal (TeamLinkWatcher other)
Determines if two TeamLinkWatcher objects contain the same values in all the properties.
- public int get_delay_down ()
Gets the delay_down interval (in milliseconds) that elapses between the link going down and the runner being notified about it.
- public int get_delay_up ()
Gets the delay_up interval (in milliseconds) that elapses between the link coming up and the runner being notified about it.
- public TeamLinkWatcherArpPingFlags get_flags ()
Gets the arp ping watcher flags.
- public int get_init_wait ()
Gets the init_wait interval (in milliseconds) that the team slave should wait before sending the first packet to the target host.
- public int get_interval ()
Gets the interval (in milliseconds) that the team slave should wait between sending two check packets to the target host.
- public int get_missed_max ()
Gets the number of missed replies after which the link is considered down.
- public unowned string get_name ()
Gets the name of the link watcher to be used.
- public unowned string get_source_host ()
Gets the ip address to be used as source for the link probing packets.
- public unowned string get_target_host ()
Gets the host name/ip address to be used as destination for the link probing packets.
- public int get_vlanid ()
Gets the VLAN tag ID to be used to outgoing link probes
- public void unref ()
Decreases the reference count of the object.