public class FD_ICMP extends FD
| Modifier and Type | Class and Description |
|---|---|
protected class |
FD_ICMP.PingMonitor
Runs InetAddress.isReachable().
|
FD.Broadcaster, FD.BroadcastTask, FD.FdHeader, FD.Monitor| Modifier and Type | Field and Description |
|---|---|
protected String |
bind_interface_str |
protected int |
ttl
Time-to-live for InetAddress.isReachable()
|
bcast_task, local_addr, lock, members, num_heartbeats, num_suspect_events, num_tries, ping_dest, pingable_mbrs, suspect_history| Constructor and Description |
|---|
FD_ICMP() |
| Modifier and Type | Method and Description |
|---|---|
protected FD.Monitor |
createMonitor() |
void |
init()
Called after instance has been created (null constructor) and before protocol is started.
|
Object |
up(Event evt)
An event was received from the layer below.
|
down, getCurrentNumTries, getLocalAddress, getMaxTries, getMembers, getNumberOfHeartbeatsSent, getNumSuspectEventsGenerated, getPingableMembers, getPingDest, getTimeout, isMonitorRunning, printSuspectHistory, resetStats, setMaxTries, setTimeout, startFailureDetection, stop, stopFailureDetectiondestroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getId, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, isErgonomics, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabledprotected String bind_interface_str
protected int ttl
public void init()
throws Exception
Protocolpublic Object up(Event evt)
Protocoldown_prot.down() or c) the event (or another event) is sent up
the stack using up_prot.up().protected FD.Monitor createMonitor()
createMonitor in class FDCopyright © 2012 JBoss by Red Hat. All Rights Reserved.