public class DVHeartbeat
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected int |
chokePeriod |
static byte |
CLEANUP |
static int |
DEFAULT_CHOKE_PERIOD |
static int |
DEFAULT_NUM_CYCLES |
static byte |
DV |
long |
filterSeqNo |
protected boolean |
keepRunning |
protected java.lang.Thread |
localThread |
static int |
MAX_PREDICATES_PER_PAD |
static byte |
MULTICAST |
static byte |
PAD |
protected siena.TaskQueue |
queue |
static byte |
UDV |
Constructor and Description |
---|
DVHeartbeat(DVDRPDispatcher server) |
DVHeartbeat(DVDRPDispatcher server,
int chokePeriod) |
Modifier and Type | Method and Description |
---|---|
void |
init()
Init discovers what listener the server is using.
|
void |
queueUpdate(byte method) |
void |
run() |
void |
startHeartbeat() |
void |
stopHeartbeat() |
public static int DEFAULT_NUM_CYCLES
public static int DEFAULT_CHOKE_PERIOD
protected int chokePeriod
public static final byte DV
public static final byte CLEANUP
public static final byte UDV
public static final byte PAD
public static final byte MULTICAST
public static int MAX_PREDICATES_PER_PAD
protected volatile boolean keepRunning
protected java.lang.Thread localThread
protected siena.TaskQueue queue
public long filterSeqNo
public DVHeartbeat(DVDRPDispatcher server, int chokePeriod)
public DVHeartbeat(DVDRPDispatcher server)
public void startHeartbeat()
public void stopHeartbeat()
public void init()
public void run()
run
in interface java.lang.Runnable
public void queueUpdate(byte method)
Copyright © 2005-2011 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga