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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tstart()voidstop()
-
-
-
Method Detail
-
start
T start()
-
stop
void stop()
-
-