public static class FailoverAgent.Protocol extends HeartBeatProtocol
fail-over monitor
protocol.HeartBeatProtocol.Server
SignalProtocol.TimeoutChangedEvent
ILocationAware.Location
ILifecycle.DeferrableActivation
TYPE
SIGNAL_MONITOR_CANCELED, SIGNAL_MONITOR_PROGRESS, SIGNAL_REMOTE_EXCEPTION, SIGNAL_SET_TIMEOUT
DEFAULT_TIMEOUT, NO_TIMEOUT
UNSPECIFIED_VERSION
Constructor and Description |
---|
Protocol(FailoverAgent agent) |
Modifier and Type | Method and Description |
---|---|
protected SignalReactor |
createSignalReactor(short signalID) |
FailoverAgent |
getAgent() |
protected void |
requestingStart(ExtendedDataOutputStream out,
long rate) |
doDeactivate, getDefaultTimer, getTimer, handleTimeout, start, start
addStreamWrapper, close, doBeforeDeactivate, getStreamWrapper, getTimeout, handleBuffer, handleChannelDeactivation, isSendingTimeoutChanges, open, provideSignalReactor, setStreamWrapper, setTimeout, setTimeout, toString, waitForSignals
doBeforeActivate, getBufferProvider, getChannel, getExecutorService, getInfraStructure, getLocation, getType, getUserID, getVersion, isClient, isServer, setChannel, setExecutorService, setInfraStructure, setUserID
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, dump, getLifecycleState, isActive, isDeferredActivation
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getType, setChannel, setExecutorService, setInfraStructure
getUserID
getLocation, isClient, isServer
addListener, getListeners, hasListeners, removeListener
public Protocol(FailoverAgent agent)
public FailoverAgent getAgent()
protected void requestingStart(ExtendedDataOutputStream out, long rate) throws IOException
requestingStart
in class HeartBeatProtocol
IOException
protected SignalReactor createSignalReactor(short signalID)
createSignalReactor
in class HeartBeatProtocol
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.