@Test public void testIsConnected() throws Throwable { ChannelPool channelPool = new ChannelPool(); boolean result = channelPool.isConnected(); assertFalse(result, "result"); assertEquals(0, channelPool.pool.size(), "channelPool.pool.size()"); assertNull(channelPool.current, "channelPool.current"); }
public synchronized boolean isConnected() { try { return getCurrent().isConnected (); } catch (IOException e) { return false; } }
ChannelPool implements ISOChannel, LogSource, Configurable, Cloneable { public synchronized boolean isConnected() { try { return getCurrent().isConnected (); } catch (IOException e) { return false; } } }
ChannelPool implements ISOChannel, LogSource, Configurable, Cloneable { public synchronized boolean isConnected() { try { return getCurrent().isConnected (); } catch (IOException e) { return false; } } ChannelPool(); }
ChannelPool implements ISOChannel, LogSource, Configurable, Cloneable { public synchronized boolean isConnected() { try { return getCurrent().isConnected (); } catch (IOException e) { return false; } } ChannelPool(); void setPackager(ISOPackager p); synchronized void connect(); synchronized void disconnect(); synchronized void reconnect(); synchronized boolean isConnected(); ISOMsg receive(); void send(ISOMsg m); void send(byte[] b); void setUsable(boolean b); void setName(String name); String getName(); ISOPackager getPackager(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); synchronized void setConfiguration(Configuration cfg); void addChannel(ISOChannel channel); void addChannel(String name); void removeChannel(ISOChannel channel); void removeChannel(String name); int size(); synchronized ISOChannel getCurrent(); Object clone(); }
ChannelPool implements ISOChannel, LogSource, Configurable, Cloneable { public synchronized boolean isConnected() { try { return getCurrent().isConnected (); } catch (IOException e) { return false; } } ChannelPool(); void setPackager(ISOPackager p); synchronized void connect(); synchronized void disconnect(); synchronized void reconnect(); synchronized boolean isConnected(); ISOMsg receive(); void send(ISOMsg m); void send(byte[] b); void setUsable(boolean b); void setName(String name); String getName(); ISOPackager getPackager(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); synchronized void setConfiguration(Configuration cfg); void addChannel(ISOChannel channel); void addChannel(String name); void removeChannel(ISOChannel channel); void removeChannel(String name); int size(); synchronized ISOChannel getCurrent(); Object clone();  }