private void sleep() { try { Thread.sleep(TIMEOUT); } catch (InterruptedException e) { e.printStackTrace(); } }
public void run() { try { ChannelFuture cf = tcpBootstrap.connect("192.168.5.86", 554).sync(); } catch (InterruptedException e) { e.printStackTrace(); } }