Fix example
This commit is contained in:
parent
2aea5291bd
commit
fd7767ccda
@ -31,7 +31,7 @@ public class SecureChatServer {
|
|||||||
this.port = port;
|
this.port = port;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void run() {
|
public void run() throws InterruptedException {
|
||||||
ServerBootstrap b = new ServerBootstrap();
|
ServerBootstrap b = new ServerBootstrap();
|
||||||
try {
|
try {
|
||||||
b.eventLoop(new NioEventLoop(), new NioEventLoop())
|
b.eventLoop(new NioEventLoop(), new NioEventLoop())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user