コード例 #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));
            }
          }