2 * Copyright 2006-2012. The SimGrid Team. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package.
9 import org.simgrid.msg.NativeException;
10 import org.simgrid.msg.Task;
12 public class PingPongTask extends Task {
14 private double timeVal;
16 public PingPongTask() throws NativeException {
20 public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException {
21 super(name,computeDuration,messageSize);
24 public void setTime(double timeVal){
25 this.timeVal = timeVal;
28 public double getTime() {