org.eclipse.emf.cdo.server.net4j
Class FailoverMonitor.AgentProtocol
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.spi.net4j.Protocol<INFRA_STRUCTURE>
org.eclipse.net4j.signal.SignalProtocol<Object>
org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol.Server
org.eclipse.emf.cdo.server.net4j.FailoverMonitor.AgentProtocol
- All Implemented Interfaces:
- IBufferHandler, ILocationAware, IProtocol<Object>, ISignalProtocol<Object>, INotifier, ILifecycle, ILifecycle.DeferrableActivation, IUserAware
- Enclosing class:
- FailoverMonitor
- public static class FailoverMonitor.AgentProtocol
- extends HeartBeatProtocol.Server
The monitor-side implementation of the fail-over monitor
agent protocol.
Methods inherited from class org.eclipse.net4j.signal.SignalProtocol |
addStreamWrapper, close, doAfterActivate, doBeforeDeactivate, getStreamWrapper, getTimeout, handleBuffer, handleChannelDeactivation, isSendingTimeoutChanges, open, provideSignalReactor, setStreamWrapper, setTimeout, waitForSignals |
Methods inherited from class org.eclipse.spi.net4j.Protocol |
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getLocation, getType, getUserID, isClient, isServer, setChannel, setExecutorService, setInfraStructure, setUserID |
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, dump, getLifecycleState, isActive, isDeferredActivation |
FailoverMonitor.AgentProtocol
public FailoverMonitor.AgentProtocol(FailoverMonitor.Provider failOverMonitorProvider)
toString
public String toString()
- Overrides:
toString
in class SignalProtocol<Object>
getFailoverMonitor
protected FailoverMonitor getFailoverMonitor()
getConnectorDescription
protected String getConnectorDescription()
getRepositoryName
protected String getRepositoryName()
indicatingStart
protected void indicatingStart(ExtendedDataInputStream in)
throws IOException
- Overrides:
indicatingStart
in class HeartBeatProtocol.Server
- Throws:
IOException
doDeactivate
protected void doDeactivate()
throws Exception
- Overrides:
doDeactivate
in class HeartBeatProtocol.Server
- Throws:
Exception
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.