|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.ants.felixgm.trmsim_wsn.trm.peertrust.Transaction
public class Transaction
This class models a transaction between two sensors and the corresponding satisfaction of the client who received the service
| Constructor Summary | |
|---|---|
Transaction(Sensor client,
Sensor server,
Outcome outcome)
Class Transaction constructor |
|
| Method Summary | |
|---|---|
Sensor |
getClient()
Returns the client who requested the service |
Satisfaction |
getSatisfaction()
Returns the satisfaction of the client with the received service |
Sensor |
getServer()
Returns the server who provided the service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transaction(Sensor client,
Sensor server,
Outcome outcome)
client - The client who requested the serviceserver - The server who provided the serviceoutcome - Outcome with the satisfaction of the client with the received service| Method Detail |
|---|
public Sensor getClient()
public Sensor getServer()
public Satisfaction getSatisfaction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||