|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.tickertape.server.Server
public class Server
The main point of entry for this system. Reads in the tickertape.xml file, sets up the timer-based processes.
Field Summary | |
---|---|
(package private) java.util.List<java.util.Timer> |
timers
The timers associated with the tickers. |
Constructor Summary | |
---|---|
Server(java.lang.String configFile)
Instantiates a new Tickertape server. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts up this tickertape instance. |
void |
start()
Starts up the Tickertape instances. |
void |
stop()
Stops all timers that have been started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.List<java.util.Timer> timers
Constructor Detail |
---|
public Server(java.lang.String configFile)
configFile
- The configFile to use, or null if the default should be used.Method Detail |
---|
public void start() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void stop()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- If provided, the location of the tickerlingua.xml file.
java.lang.Exception
- if problems occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |