add closeable

This commit is contained in:
Looly
2019-09-11 09:13:07 +08:00
parent 96e377f414
commit 3288f26795
6 changed files with 19 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ public class AioServerTest {
public static void main(String[] args) {
@SuppressWarnings("resource")
AioServer aioServer = new AioServer(8899);
aioServer.setIoAction(new SimpleIoAction() {