public class HeartBeatSender extends TimerTask
Constructor and Description |
---|
HeartBeatSender(ChannelID inReceiver,
BitarchiveServer inBaServer)
Constructs a HearBeatSender that sends heartbeats.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This is the run method of the thread sending heartbeats.
|
String |
toString()
Retrieval of a string representation of this instance.
|
cancel, scheduledExecutionTime
public HeartBeatSender(ChannelID inReceiver, BitarchiveServer inBaServer) throws ArgumentNotValid, IOFailure
inReceiver
- - the receiver to receive the heartbeatsinBaServer
- - the BitarchiveServer of this HeartBeatSenderArgumentNotValid
- - if in_baServer is nullIOFailure
- - if getting an JMSConnection instance failspublic void run()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.