|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.ants.felixgm.trmsim_wsn.network.Link
public class Link
This class models a link between two nodes./p>
| Field Summary | |
|---|---|
protected Sensor |
destination
Destination node of the link |
protected Sensor |
source
Source node of the link |
| Constructor Summary | |
|---|---|
Link(Sensor source,
Sensor destination)
Class Link constructor |
|
| Method Summary | |
|---|---|
Sensor |
get_destination()
Retrives the destination sensor of this link |
Sensor |
get_source()
Retrives the source sensor of this link |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Sensor source
protected Sensor destination
| Constructor Detail |
|---|
public Link(Sensor source,
Sensor destination)
source - Source sensor of the linkdestination - Destination sensor of the link| Method Detail |
|---|
public Sensor get_source()
public Sensor get_destination()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||