|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.directory.HelloTimeHelper
public class HelloTimeHelper
| Constructor Summary | |
|---|---|
HelloTimeHelper(Queue msgQueue,
P2PDirectory directoryObj)
Creates a new instance of HoldTimeHelper |
|
| Method Summary | |
|---|---|
boolean |
getReadyState()
|
void |
handleAction()
Implements Theadable interface. |
void |
handleJob(Job job)
Implement JobHandler interface.This method is invoked by every job thread to handle job |
boolean |
isRunning()
|
void |
reset()
Reset the hold-time process when necessary |
void |
runAction()
Implements Theadable interface
This method acts as the background process at the server to update peerstatus. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelloTimeHelper(Queue msgQueue,
P2PDirectory directoryObj)
throws AutoMedException
AutoMedException| Method Detail |
|---|
public boolean isRunning()
public boolean getReadyState()
getReadyState in interface Threadable
public void runAction()
throws AutoMedException
Theadable interface
This method acts as the background process at the server to update peer
runAction in interface ThreadableAutoMedExceptionpublic void reset()
public void handleAction()
Theadable interface.
This method handles exceptions when running as a thread.
handleAction in interface ThreadableAutoMedException
public void handleJob(Job job)
throws AutoMedException
JobHandler interface.
handleJob in interface JobHandlerAutoMedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||