Interface HasLifecycle<T>
- All Known Subinterfaces:
Server<T>
- All Known Implementing Classes:
NettyServer
public interface HasLifecycle<T>
Allows an implementation of something to be marked as startable and stoppable, allowing its
lifecycle to be controlled.
-
Method Summary
-
Method Details
-
start
T start() -
stop
void stop()
-