Exemplo n.º 1
0
 public void handle(MsgTimeout event) {
   logger.info("Msg timeout");
   trigger(new Stop(), client.getControl());
   trigger(new Stop(), server.getControl());
   testObj.testStatus = false;
   testObj.failAndRelease();
 }
Exemplo n.º 2
0
          @Override
          public void handle(PortBindResponse event) {
            logger.info("Port bind response");

            if (event.getStatus() == Status.FAIL) {
              testObj.failAndRelease();
              return;
            }

            if (event.getPort() == serverAddr.getPort()) {
              trigger(
                  new TConnectionMsg.Ping(clientAddr, serverAddr, Transport.TCP, UUID.nextUUID()),
                  client.getPositive(VodNetwork.class));
            }
          }