public class FD_ICMP extends FD
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
FD_ICMP.PingMonitor |
Runs InetAddress.isReachable().
|
FD.Broadcaster, FD.BroadcastTask, FD.FdHeader, FD.Monitorbcast_task, lock, num_heartbeats, num_suspect_events| Constructor | Description |
|---|---|
FD_ICMP() |
| Modifier and Type | Method | Description |
|---|---|---|
protected FD.Monitor |
createMonitor() |
|
java.lang.String |
getName() |
|
void |
init() |
Called after instance has been created (null constructor) and before protocol is started.
|
boolean |
setProperties(java.util.Properties props) |
Configures the protocol initially.
|
java.lang.Object |
up(Event evt) |
An event was received from the layer below.
|
down, getCurrentNumTries, getLocalAddress, getMaxTries, getMembers, getNumberOfHeartbeatsSent, getNumSuspectEventsGenerated, getPingableMembers, getPingDest, getTimeout, isShun, printSuspectHistory, resetStats, setMaxTries, setShun, setTimeout, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getProtocolStack, getThreadFactory, getTransport, getUpProtocol, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, setDownProtocol, setPropertiesInternal, setProtocolStack, setUpProtocol, start, statsEnabled, upThreadEnabledpublic boolean setProperties(java.util.Properties props)
Protocol"loopback=false;unicast_inport=4444"
setProperties in class FDpublic void init()
throws java.lang.Exception
Protocolpublic java.lang.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()
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.