678679680681682683684685
* Status check, must be open and connected, for read and write. */ private void checkOpenConnected() throws IOException { checkOpen(); if (!isConnected()) { throw new NotYetConnectedException(); } }
581582583584585586587588
throws ClosedChannelException { if (!isOpen()) { throw new ClosedChannelException(); } if (!isConnected()) { throw new NotYetConnectedException(); } }
584585586587588589590591
688689690691692693694695
627628629630631632633634
582583584585586587588589
274275276277278279280281282283284
} @Override protected void doWrite(ChannelOutboundBuffer in) throws Exception { if (state < 2) { throw new NotYetConnectedException(); } if (state > 2) { throw new ClosedChannelException(); }
308309310311312313314315316317318
} if (remoteAddress == null) { remoteAddress = remote; if (remoteAddress == null) { throw new NotYetConnectedException(); } } final int writtenBytes; if (data.hasMemoryAddress()) {
239240241242243244245246247248249
}); } void writeReal(final ChannelBuffer a, final ChannelFuture future) { if (!requestHeaderWritten) { throw new NotYetConnectedException(); } final int size = a.readableBytes(); final ChannelFuture f;