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