@Test public void testDisconnect() throws Throwable { XMLChannel xMLChannel = new XMLChannel(); xMLChannel.disconnect(); assertNull(xMLChannel.getServerSocket(), "xMLChannel.getServerSocket()"); assertNull(xMLChannel.reader, "xMLChannel.reader"); assertNull(xMLChannel.getSocket(), "xMLChannel.getSocket()"); assertFalse(xMLChannel.isConnected(), "xMLChannel.isConnected()"); }
public void disconnect () throws IOException { super.disconnect (); if (reader != null) reader.close (); reader = null; }
XMLChannel extends BaseChannel { public void disconnect () throws IOException { super.disconnect (); if (reader != null) reader.close (); reader = null; } }
XMLChannel extends BaseChannel { public void disconnect () throws IOException { super.disconnect (); if (reader != null) reader.close (); reader = null; } XMLChannel();  XMLChannel(String host, int port, ISOPackager p);  XMLChannel(ISOPackager p);  XMLChannel(ISOPackager p, ServerSocket serverSocket); }
XMLChannel extends BaseChannel { public void disconnect () throws IOException { super.disconnect (); if (reader != null) reader.close (); reader = null; } XMLChannel();  XMLChannel(String host, int port, ISOPackager p);  XMLChannel(ISOPackager p);  XMLChannel(ISOPackager p, ServerSocket serverSocket); void disconnect(); }
XMLChannel extends BaseChannel { public void disconnect () throws IOException { super.disconnect (); if (reader != null) reader.close (); reader = null; } XMLChannel();  XMLChannel(String host, int port, ISOPackager p);  XMLChannel(ISOPackager p);  XMLChannel(ISOPackager p, ServerSocket serverSocket); void disconnect();  }