public class HttpAlarmListener extends AbstractAlarmListener
log, tpool
Constructor and Description |
---|
HttpAlarmListener(int tcpPort)
Creates a new instance, which will listen on the specified port when started.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Starts the HTTP server.
|
void |
shutdown()
Shuts down the HTTP server.
|
getAlarmSender, init, setAlarmSender, setAutostart, startListening
public HttpAlarmListener(int tcpPort)
tcpPort
- the port on which the receiver must listen for incoming HTTP requests.public void run()
@PreDestroy public void shutdown()
shutdown
in class AbstractAlarmListener