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
bcast_task, num_heartbeats, num_suspect_events
down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, stats, up_handler, up_prot, up_queue, up_thread, up_thread_prio
Constructor and Description |
---|
FD_ICMP() |
Modifier and Type | Method and 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.
|
void |
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
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getDownQueue, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, passDown, passUp, printStats, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, setDownProtocol, setObserver, setPropertiesInternal, setProtocolStack, setUpProtocol, start, startDownHandler, startUpHandler, statsEnabled, stopInternal, 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 void up(Event evt)
Protocol
passDown()
or c) the event (or another event) is sent up
the stack using passUp()
.protected FD.Monitor createMonitor()
createMonitor
in class FD
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.