ing
This commit is contained in:
parent
90dda2f964
commit
d106b06371
|
@ -82,10 +82,18 @@ public abstract class Server {
|
|||
return serverBootstrap.bind(address).sync();
|
||||
}
|
||||
|
||||
protected abstract void init() throws Exception;
|
||||
protected abstract void onStart() throws Exception;
|
||||
protected abstract void onStop() throws Exception;
|
||||
protected abstract void destroy() throws Exception;
|
||||
protected void init() throws Exception {
|
||||
// no op
|
||||
}
|
||||
protected void onStart() throws Exception {
|
||||
// no op
|
||||
}
|
||||
protected void onStop() throws Exception {
|
||||
// no op
|
||||
}
|
||||
protected void destroy() throws Exception {
|
||||
// no op
|
||||
}
|
||||
|
||||
public static class ChannelOptionItem<T> {
|
||||
private final ChannelOption<T> option;
|
||||
|
|
Loading…
Reference in New Issue
Block a user