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.Monitor
bcast_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, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getProtocolStack, getThreadFactory, getTransport, getUpProtocol, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, setDownProtocol, setPropertiesInternal, setProtocolStack, setUpProtocol, start, statsEnabled, upThreadEnabled
public boolean setProperties(java.util.Properties props)
Protocol
"loopback=false;unicast_inport=4444"
setProperties
in class FD
public void init() throws java.lang.Exception
Protocol
public java.lang.Object up(Event evt)
Protocol
down_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.