2 * Copyright 2006,2007,2010. 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.
10 public class PingPongTask extends Task {
12 private double timeVal;
14 public PingPongTask() throws NativeException {
18 public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException {
19 super(name,computeDuration,messageSize);
22 public void setTime(double timeVal){
23 this.timeVal = timeVal;
26 public double getTime() {