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

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

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