Package org.jboss.modcluster.advertise
Interface AdvertiseListener
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AdvertiseListenerImpl
- Author:
- Paul Ferraro, Radoslav Husar
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Replaces previous pause/stop/destroy lifecycle methods, terminating the advertise worker and closing the datagram channel; may throwIOException
.boolean
Returnstrue
if listener is accepting the advertise messages; false if the listener was stopped or is experiencing network problems.
-
Method Details
-
isListening
boolean isListening()Returnstrue
if listener is accepting the advertise messages; false if the listener was stopped or is experiencing network problems. -
close
Replaces previous pause/stop/destroy lifecycle methods, terminating the advertise worker and closing the datagram channel; may throwIOException
.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- If an I/O error occurs while closing the underlying channel.
-