source: src/test/java/agents/nastyagent/SleepInNegoEnd.java@ 126

Last change on this file since 126 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 459 bytes
Line 
1package agents.nastyagent;
2
3import java.util.HashMap;
4
5import genius.core.Bid;
6
7/**
8 * sleeps when negotiationEnded is called.
9 *
10 */
11public class SleepInNegoEnd extends NastyAgent {
12 @Override
13 public HashMap<String, String> negotiationEnded(Bid acceptedBid) {
14 // we actually got here. Report it.
15 super.negotiationEnded(acceptedBid);
16 try {
17 Thread.sleep(99999999);
18 } catch (InterruptedException e) {
19 e.printStackTrace();
20 }
21 return null;
22 }
23}
Note: See TracBrowser for help on using the repository browser.