public class TournamentRunner
extends java.lang.Object
implements java.lang.Runnable
Protocol
s as sessions. Use with new Thread(new
TournamentRunner(tournament,ael)).start(); You can attach a
NegotiationEventListener
s.Constructor and Description |
---|
TournamentRunner(java.util.List<Protocol> sessions,
NegotiationEventListener ael) |
TournamentRunner(NegotiationEventListener ael,
boolean distributed,
java.lang.String sessionname) |
TournamentRunner(Tournament t,
NegotiationEventListener ael) |
TournamentRunner(Tournament t,
NegotiationEventListener ael,
boolean runSingleSession) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Warning.
|
public TournamentRunner(java.util.List<Protocol> sessions, NegotiationEventListener ael) throws java.lang.Exception
sessions
- the sessions to be runael
- the action event listener to use. If not null, the existing
listener for each session will be overridden with this
listener.java.lang.Exception
public TournamentRunner(Tournament t, NegotiationEventListener ael) throws java.lang.Exception
t
- the tournament to be runael
- the action event listener to use. If not null, the existing
listener for each session will be overridden with this
listener.java.lang.Exception
public TournamentRunner(NegotiationEventListener ael, boolean distributed, java.lang.String sessionname)
public TournamentRunner(Tournament t, NegotiationEventListener ael, boolean runSingleSession) throws java.lang.Exception
t
- the tournament to be runael
- the action event listener to use. If not null, the existing
listener for each session will be overridden with this
listener.java.lang.Exception
public void run()
run
in interface java.lang.Runnable