Example #1
0
 private void sleep() {
   try {
     Thread.sleep(TIMEOUT);
   } catch (InterruptedException e) {
     e.printStackTrace();
   }
 }
Example #2
0
    public void run() {
      try {

        ChannelFuture cf = tcpBootstrap.connect("192.168.5.86", 554).sync();

      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }