Ejemplo 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();
 }
Ejemplo n.º 2
0
 @Override
 public void handle(PortDeleteResponse event) {
   logger.info("Received PortDeleteResponse");
   trigger(new Stop(), client.getControl());
   trigger(new Stop(), server.getControl());
   testObj.pass();
 }
Ejemplo n.º 3
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));
            }
          }