Public Member Functions | |
| KnownRSU (RSU rsu, long ID, int x, int y, boolean isEncrypted, int time) | |
| void | setX (int x) |
| void | setY (int y) |
| void | setLastUpdate (int time) |
| int | getX () |
| int | getY () |
| long | getID () |
| RSU | getRSU () |
| int | getLastUpdate () |
| KnownRSU | getNext () |
| KnownRSU | getPrevious () |
| void | setNext (KnownRSU next) |
| void | setPrevious (KnownRSU previous) |
| boolean | isEncrypted () |
| void | setEncrypted (boolean isEncrypted) |
Protected Attributes | |
| KnownRSU | previous_ |
| KnownRSU | next_ |
A known RSU (discovered by receiving a beacon). The variables represent what is known and might differ from the real ones if it hasn't been updated for some time!
|
inline |
|
inline |
Gets the ID.
|
inline |
Gets when this RSU was last updated.
|
inline |
Returns the KnownRSU after this one.
|
inline |
Returns the KnownRSU before this one.
|
inline |
Gets the x coordinate.
|
inline |
Gets the y coordinate.
|
inline |
Updates the last modification time.
| time | the current time |
|
inline |
Sets the KnownRSU after this one.
| next | the object which comes after this one |
|
inline |
Sets the KnownRSU before this one.
| previous | the object which comes before this one |
|
inline |
Updates the x coordinate.
| x | the x coordinate |
|
inline |
Updates the y coordinate.
| y | the y coordinate |
|
protected |
Link to the next object.
|
protected |
Link to the previous object.
1.8.3.1