Package de.huxhorn.lilith.sender
Class HeartbeatRunnable
- java.lang.Object
-
- de.huxhorn.lilith.sender.HeartbeatRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public class HeartbeatRunnable extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description static int
HEARTBEAT_RATE
The heartbeat rate.
-
Constructor Summary
Constructors Constructor Description HeartbeatRunnable(SendBytesService sender)
HeartbeatRunnable(SendBytesService sender, int heartbeatRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
HEARTBEAT_RATE
public static final int HEARTBEAT_RATE
The heartbeat rate. One heartbeat every 45 seconds.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeartbeatRunnable
public HeartbeatRunnable(SendBytesService sender)
-
HeartbeatRunnable
public HeartbeatRunnable(SendBytesService sender, int heartbeatRate)
-
-