public class PoAMan
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
PoAMan()
Initializes the PoA-Man
|
Modifier and Type | Method and Description |
---|---|
void |
receiveConnectionReport(ConnectionReport connectioReport)
Receives a Connection Report by the listener
|
void |
receiveLoadReport(LoadReportTopicComparable loadReport)
Receives a LoadReportTopicComparable by the listener
|
void |
run()
Checks if all Gateways are working and executes the load balancing algorithm
|
public void receiveLoadReport(LoadReportTopicComparable loadReport)
loadReport
- The Gateway´s Load Reportpublic void receiveConnectionReport(ConnectionReport connectioReport)
connectioReport
- The Node´s Connection Reportpublic void run()
run
in interface java.lang.Runnable