Class NextBidTask
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.land.city.internal.NextBidTask
-
- All Implemented Interfaces:
CancelableRunnable
,java.lang.Runnable
public class NextBidTask extends java.lang.Object implements CancelableRunnable
Task for an auction bid.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 11, 2016
-
-
Field Summary
Fields Modifier and Type Field Description private IAuction
auction
private com.google.common.eventbus.AsyncEventBus
clientServerEventBus
private java.util.Random
rnd
private boolean
run
-
Constructor Summary
Constructors Constructor Description NextBidTask(IAuction auction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Cancel the execution of the Runnable.void
run()
-
-
-
Field Detail
-
clientServerEventBus
@Autowired @Qualifier("serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
-
rnd
@Autowired private java.util.Random rnd
-
auction
private final IAuction auction
-
run
private boolean run
-
-
Constructor Detail
-
NextBidTask
public NextBidTask(IAuction auction)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
cancel
public void cancel()
Description copied from interface:CancelableRunnable
Cancel the execution of the Runnable.- Specified by:
cancel
in interfaceCancelableRunnable
-
-