1 24 package fr.dyade.aaa.agent; 25 26 31 public class DriverDone extends Notification { 32 33 34 35 protected int driver; 36 37 38 protected int driverKey = 0; 39 40 41 46 public DriverDone(int driver) { 47 this.driver = driver; 48 } 49 50 56 public DriverDone(int driver, int driverKey) { 57 this.driver = driver; 58 this.driverKey = driverKey; 59 } 60 61 62 65 public int getDriver() { 66 return driver; 67 } 68 69 73 public int getDriverKey() { 74 return driverKey; 75 } 76 77 85 public StringBuffer toString(StringBuffer output) { 86 output.append('('); 87 super.toString(output); 88 output.append(",driver=").append(driver); 89 output.append(",driverKey=").append(driverKey); 90 output.append(')'); 91 92 return output; 93 } 94 } 95 | Popular Tags |