public class EarthwormHeartbeater
extends java.util.TimerTask
Constructor and Description |
---|
EarthwormHeartbeater(EarthwormEscapeOutputStream outStream,
int heartbeatSeconds,
java.lang.String heartbeatMessage,
int institution,
int module) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeartbeatMessage() |
int |
getHeartbeatSeconds() |
EarthwormEscapeOutputStream |
getOutStream() |
void |
heartbeat() |
boolean |
isVerbose() |
void |
run() |
void |
setOutStream(EarthwormEscapeOutputStream outStream) |
void |
setVerbose(boolean verbose) |
public EarthwormHeartbeater(EarthwormEscapeOutputStream outStream, int heartbeatSeconds, java.lang.String heartbeatMessage, int institution, int module)
public EarthwormEscapeOutputStream getOutStream()
public void setOutStream(EarthwormEscapeOutputStream outStream)
public int getHeartbeatSeconds()
public java.lang.String getHeartbeatMessage()
public boolean isVerbose()
public void setVerbose(boolean verbose)
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public void heartbeat() throws java.io.IOException
java.io.IOException