private BlockingQueue<byte[]> ofMsg;
private ChannelHandlerContext ctx;
private int eventNumber;
+ private boolean scenarioFinished = false;
/**
*
}
LOGGER.debug("Scenario finished");
synchronized (this) {
+ scenarioFinished = true;
this.notify();
}
}
public void addOfMsg(byte[] message) {
ofMsg.add(message);
}
+
+ /**
+ * @return true is scenario is finished
+ */
+ public boolean isScenarioFinished() {
+ return scenarioFinished;
+ }
}