This commit is contained in:
地平线
2015-10-30 15:43:18 +08:00
parent 2c7d8f64d4
commit 3833975e1f

View File

@@ -273,6 +273,7 @@ public abstract class AsyncConnection implements AsynchronousByteChannel, AutoCl
rc = Channels.newChannel(socket.getInputStream());
wc = Channels.newChannel(socket.getOutputStream());
} catch (IOException e) {
e.printStackTrace();
}
this.readChannel = rc;
this.writeChannel = wc;