Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class HeartbeatMonitor

Hierarchy

java.lang.Object

Package
com.smartdevicelink.protocol.heartbeat
All Implemented Interfaces
com.smartdevicelink.protocol.heartbeat.IHeartbeatMonitor

Fields

HEARTBEAT_INTERVAL

public static final int HEARTBEAT_INTERVAL
Constant Value
5000

HEARTBEAT_INTERVAL_MAX

public static final int HEARTBEAT_INTERVAL_MAX
Constant Value
2147483647

Constructors

HeartbeatMonitor()

public HeartbeatMonitor()

Methods

getHeartbeatRunnable()

public java.lang.Runnable getHeartbeatRunnable()

isHeartbeatReceived()

public boolean isHeartbeatReceived()

start()

public void start()

stop()

public void stop()

getInterval()

public int getInterval()

setInterval( int value )

public void setInterval(int value)

Parameters

value

getListener()

public com.smartdevicelink.protocol.heartbeat.IHeartbeatMonitorListener getListener()

setListener( IHeartbeatMonitorListener value )

public void setListener(IHeartbeatMonitorListener value)

Parameters

value

notifyTransportActivity()

public void notifyTransportActivity()

heartbeatACKReceived()

public synchronized void heartbeatACKReceived()

heartbeatReceived()

public void heartbeatReceived()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section