|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsds.DistributedObject
sds.DistributedServerObject
sds.service.Manager
test.FeedbackManager
public final class FeedbackManager
Constructor Summary | |
---|---|
FeedbackManager(boolean[][] neighbours,
Reference daemon)
|
Method Summary | |
---|---|
void |
execute()
Defines this server's default behaviour (i.e. while not receiving messages from other distributed objects) |
static void |
main(java.lang.String[] args)
|
void |
processError(SdsException error)
Automatically called when DistributedServerObject.receive(Message) returns
false or when an SdsException while
processing an incoming request
|
boolean |
recv(Message msg)
|
void |
terminateServer()
Automatically called by DistributedServerObject.terminate()
|
Methods inherited from class sds.DistributedServerObject |
---|
isSignatureRequired, run, runsAsServer, terminate |
Methods inherited from class sds.DistributedObject |
---|
createReference, deliver, deliver, getExpectedResponseInfo, getManager, getReference, run, setDefaultReference, setManager, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeedbackManager(boolean[][] neighbours, Reference daemon)
Method Detail |
---|
public void execute()
DistributedServerObject
Defines this server's default behaviour (i.e. while not receiving messages from other distributed objects)
execute
in class DistributedServerObject
public void processError(SdsException error)
DistributedServerObject
Automatically called when DistributedServerObject.receive(Message)
returns
false or when an SdsException
while
processing an incoming request
processError
in class DistributedServerObject
public boolean recv(Message msg) throws SdsException
recv
in class Manager
SdsException
public void terminateServer()
DistributedServerObject
Automatically called by DistributedServerObject.terminate()
terminateServer
in class DistributedServerObject
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |