public void handle(MsgTimeout event) { logger.info("Msg timeout"); trigger(new Stop(), client.getControl()); trigger(new Stop(), server.getControl()); testObj.testStatus = false; testObj.failAndRelease(); }
@Override public void handle(PortDeleteResponse event) { logger.info("Received PortDeleteResponse"); trigger(new Stop(), client.getControl()); trigger(new Stop(), server.getControl()); testObj.pass(); }
@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)); } }