public class VistaHeartBeatTimerManager extends Object
| Constructor and Description |
|---|
VistaHeartBeatTimerManager()
Constructor for VistaHeartBeatTimerManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addManagedConnection(VistaLinkManagedConnection mc,
long heartBeatRate)
J2SE: Adds a managed connection to perform heartbeat on.
|
EMAdapterEnvironment |
getAdapterEnvironment() |
long |
getHeartBeatRate()
Returns the heartBeatRate.
|
boolean |
hasConstructedTimerTask() |
boolean |
isHeartBeatActive()
Returns the heartBeatActive.
|
void |
removeManagedConnection(VistaLinkManagedConnection mc)
J2SE: Removes a managed connection from the heart beat task.
|
void |
setAdapterEnvironment(EMAdapterEnvironment environment) |
void |
setConstructedTimerTask(boolean b) |
public VistaHeartBeatTimerManager()
public void addManagedConnection(VistaLinkManagedConnection mc, long heartBeatRate) throws HeartBeatInitializationFailedException
J2EE: Does not activate the Timer as no timer is used in J2EE implementation. Gets the heartbeat rate from M.
mc - - the managed connection to addHeartBeatInitializationFailedExceptionpublic void removeManagedConnection(VistaLinkManagedConnection mc)
J2EE: This method returns immediately as no managed connection have been added.
mc - -the managed connection to be removed from the listpublic boolean isHeartBeatActive()
public long getHeartBeatRate()
public EMAdapterEnvironment getAdapterEnvironment()
public void setAdapterEnvironment(EMAdapterEnvironment environment)
environment - public boolean hasConstructedTimerTask()
public final void setConstructedTimerTask(boolean b)
b - Copyright © 2026. All rights reserved.