Mercurial > stress-tester
changeset 1118:a9d9c6e9bf19
UnidirectionalRawPacketWorker.onInit .onFinish
author | Devel 2 |
---|---|
date | Tue, 02 Jun 2020 11:44:26 +0200 |
parents | 7e874d9af91a |
children | 9bae1220fef2 |
files | stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java Tue Jun 02 11:35:56 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java Tue Jun 02 11:44:26 2020 +0200 @@ -367,8 +367,18 @@ } } + protected void onInit() { + + } + + protected void onFinish() { + + } + @Override public void run() { + onInit(); + while (working) { UnidirectionalTasks.UnidirectionalTask task = null; try { @@ -394,5 +404,7 @@ } } } + + onFinish(); } }