@Issue("issues/317") @Test public void testSetConnectionStatus() throws Exception { sniffySocket.connect("google.com", 443); sniffySocket.setConnectionStatus(-1); try { sniffySocket.connect("google.com", 443); fail(); } catch (Exception e) { assertNotNull(e); } }
@Override public void setConnectionStatus(Integer connectionStatus) { this.connectionStatus = connectionStatus; }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override public void setConnectionStatus(Integer connectionStatus) { this.connectionStatus = connectionStatus; } }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override public void setConnectionStatus(Integer connectionStatus) { this.connectionStatus = connectionStatus; } protected  SnifferSocketImpl(SocketImpl delegate); }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override public void setConnectionStatus(Integer connectionStatus) { this.connectionStatus = connectionStatus; } protected  SnifferSocketImpl(SocketImpl delegate); @Override void setConnectionStatus(Integer connectionStatus); @Override String toString(); @Override void setOption(int optID, Object value); @Override Object getOption(int optID); @Override InetSocketAddress getInetSocketAddress(); }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override public void setConnectionStatus(Integer connectionStatus) { this.connectionStatus = connectionStatus; } protected  SnifferSocketImpl(SocketImpl delegate); @Override void setConnectionStatus(Integer connectionStatus); @Override String toString(); @Override void setOption(int optID, Object value); @Override Object getOption(int optID); @Override InetSocketAddress getInetSocketAddress();  }