1 /* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
7 import org.simgrid.msg.Task;
9 public class PingPongTask extends Task {
10 private double timeVal;
12 public PingPongTask() {
16 public PingPongTask(String name, double computeDuration, double messageSize, double timeVal) {
17 super(name,computeDuration,messageSize);
19 this.timeVal = timeVal;
22 public double getTime() {