678679680681682683684685
* Status check, must be open and connected, for read and write. */ private void checkOpenConnected() throws IOException { checkOpen(); if (!isConnected()) { throw new NotYetConnectedException(); } }