test
Class FeedbackManager

java.lang.Object
  extended by sds.DistributedObject
      extended by sds.DistributedServerObject
          extended by sds.service.Manager
              extended by test.FeedbackManager

public final class FeedbackManager
extends Manager


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.service.Manager
clearReferences, clearReferences, getDistributedObjectReferences, getRegisteredDaemons, getRegisteredDistributedObjects, hasRegisteredDistributedObjects, isRegistered, kill, killAll, receive, register, register, registerDaemons, registerDaemons, registerDaemons, removeRegisteredDaemons, removeRegisteredDaemons, removeRegisteredDaemons
 
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

FeedbackManager

public FeedbackManager(boolean[][] neighbours,
                       Reference daemon)
Method Detail

execute

public void execute()
Description copied from class: DistributedServerObject

Defines this server's default behaviour (i.e. while not receiving messages from other distributed objects)

Specified by:
execute in class DistributedServerObject

processError

public void processError(SdsException error)
Description copied from class: DistributedServerObject

Automatically called when DistributedServerObject.receive(Message) returns false or when an SdsException while processing an incoming request

Specified by:
processError in class DistributedServerObject

recv

public boolean recv(Message msg)
             throws SdsException
Specified by:
recv in class Manager
Throws:
SdsException

terminateServer

public void terminateServer()
Description copied from class: DistributedServerObject

Automatically called by DistributedServerObject.terminate()

Specified by:
terminateServer in class DistributedServerObject

main

public static void main(java.lang.String[] args)