|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--wtanaka.praya.zhongwen.ZhongWenWatcher
This is the thread that polls the webpage looking for messages.
Return to
or the Praya Homepage
| Field Summary | |
private static java.lang.Object |
DEFAULT_MEMENTO
|
private java.lang.String |
m_mostRecentKnownLine
|
private boolean |
m_shouldBeRunning
|
private Protocol |
m_source
|
static int |
SLEEP_TIME
|
| Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
| Constructor Summary | |
ZhongWenWatcher(Protocol source)
|
|
ZhongWenWatcher(Protocol source,
java.lang.Object memento)
|
|
| Method Summary | |
void |
abort()
|
java.lang.Object |
getMemento()
|
private static java.lang.String |
getURL()
|
void |
run()
|
private static java.lang.String |
stripTags(java.lang.String input)
|
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SLEEP_TIME
private volatile boolean m_shouldBeRunning
private Protocol m_source
private static final java.lang.Object DEFAULT_MEMENTO
private java.lang.String m_mostRecentKnownLine
| Constructor Detail |
public ZhongWenWatcher(Protocol source,
java.lang.Object memento)
public ZhongWenWatcher(Protocol source)
| Method Detail |
private static java.lang.String getURL()
public void abort()
public java.lang.Object getMemento()
private static java.lang.String stripTags(java.lang.String input)
public void run()
run in class java.lang.Thread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||