org.brains2b.coffee
Class TicketBroker
java.lang.Object
java.util.TimerTask
org.brains2b.coffee.TicketBroker
- All Implemented Interfaces:
- java.util.EventListener, java.lang.Runnable, org.brains2b.task.TaskListener
- public class TicketBroker
- extends java.util.TimerTask
- implements org.brains2b.task.TaskListener
[Short description] [Long description]
- Version:
- [version] [lastrevisiondate]
- Author:
- dennis@brains2b.nl
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TicketBroker
protected TicketBroker()
getBroker
public static final TicketBroker getBroker()
broker
public void broker(CoffeeEvent event)
close
public void close()
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
addTaskListener
public void addTaskListener(org.brains2b.task.TaskListener listener)
removeTaskListener
public void removeTaskListener(org.brains2b.task.TaskListener listener)
taskProgressed
public void taskProgressed(org.brains2b.task.TaskEvent e)
- Specified by:
taskProgressed
in interface org.brains2b.task.TaskListener
getCurrentServer
public ServerDescriptor getCurrentServer()
registerHandler
public void registerHandler(TicketHandler handler)
getServer
public NewsServer getServer(ServerDescriptor sd)
getQueList
public java.util.List getQueList()