|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--edu.columbia.coms6901.pingtel.pingim.ExpirationThread
Thread responsible for checking subscriptions to make sure that none have expired. For all expired subscriptions, sends another subscription request. Also, sends SUBSCRIBE messages to buddies who we don't have subscriptions for.
Field Summary | |
private PingIM |
application
the current PingIM XPression |
private boolean |
bStop
stop signal for this thread |
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 | |
ExpirationThread(PingIM application)
Creates a new instance of ExpirationThread |
Method Summary | |
void |
run()
Starts execution of the thread |
void |
setApplication(PingIM application)
Re-initializes to the current instance of PingIM |
void |
stopThread()
Stops the thread |
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 |
private PingIM application
private boolean bStop
Constructor Detail |
public ExpirationThread(PingIM application)
application
- the current PingIM XpressionMethod Detail |
public void setApplication(PingIM application)
application
- Current instance of PingIMpublic void run()
run
in class java.lang.Thread
public void stopThread()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |