@Test public void testShutdownInput() throws Exception { sniffySocket.shutdownInput(); verifyPrivate(delegate).invoke("shutdownInput"); verifyNoMoreInteractions(delegate); }
@Override protected void shutdownInput() throws IOException { copyToDelegate(); long start = System.currentTimeMillis(); try { method("shutdownInput").invoke(delegate); } catch (Exception e) { ExceptionUtil.processException(e); } finally { logSocket(System.currentTimeMillis() - start); copyFromDelegate(); } }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override protected void shutdownInput() throws IOException { copyToDelegate(); long start = System.currentTimeMillis(); try { method("shutdownInput").invoke(delegate); } catch (Exception e) { ExceptionUtil.processException(e); } finally { logSocket(System.currentTimeMillis() - start); copyFromDelegate(); } } }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override protected void shutdownInput() throws IOException { copyToDelegate(); long start = System.currentTimeMillis(); try { method("shutdownInput").invoke(delegate); } catch (Exception e) { ExceptionUtil.processException(e); } finally { logSocket(System.currentTimeMillis() - start); copyFromDelegate(); } } protected  SnifferSocketImpl(SocketImpl delegate); }
SnifferSocketImpl extends SocketImpl implements SniffySocket { @Override protected void shutdownInput() throws IOException { copyToDelegate(); long start = System.currentTimeMillis(); try { method("shutdownInput").invoke(delegate); } catch (Exception e) { ExceptionUtil.processException(e); } finally { logSocket(System.currentTimeMillis() - start); copyFromDelegate(); } } 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 protected void shutdownInput() throws IOException { copyToDelegate(); long start = System.currentTimeMillis(); try { method("shutdownInput").invoke(delegate); } catch (Exception e) { ExceptionUtil.processException(e); } finally { logSocket(System.currentTimeMillis() - start); copyFromDelegate(); } } 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();  }