Lines Matching refs:chan
230 SocketChannel chan = (SocketChannel) key.channel();
232 closed = consume (chan);
236 chan.close ();
265 boolean consume (SocketChannel chan) {
268 int c = chan.read (consumeBuffer);
434 private boolean read (SocketChannel chan, SSLEngine sslEng) {
438 InputStream is = new BufferedInputStream (new NioInputStream (chan, sslEng, inNetBB, inAppBB));
457 msg = new HttpTransaction (this, cmd, uri, mhead, data, null, chan);
461 msg = new HttpTransaction (this, cmd, null, null, null, null, chan);
595 public NioInputStream (SocketChannel chan, SSLEngine sslEng, ByteBuffer inNetBB, ByteBuffer inAppBB) throws IOException {
597 this.channel = chan;
601 key = chan.register (selector, SelectionKey.OP_READ);