|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vanetsim.scenario.AttackRSU
public final class AttackRSU
A Road-Side-Unit to intercept WiFi signals.
Constructor Summary | |
---|---|
AttackRSU(int x,
int y,
int radius)
Instantiates a new Attack-RSU. |
Method Summary | |
---|---|
static boolean |
deleteARSU(int x,
int y)
Searches for an arsu near this coordinates and deletes it. |
static AttackRSU |
getARSU(int x,
int y)
Get a Attack RSU with coordinates |
long |
getArsuID_()
Returns the ARSU ID |
int |
getWifiRadius()
Returns the wifi radius |
int |
getX()
Returns the x coordinate of the RSU |
int |
getY()
Returns the y coordinate of the RSU |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttackRSU(int x, int y, int radius)
x
- the x coordinatey
- the y coordinateradius
- the signal radiusMethod Detail |
---|
public static final boolean deleteARSU(int x, int y)
x
- coordinate of the ARSU to deletey
- coordinate of the ARSU to delete
public static final AttackRSU getARSU(int x, int y)
x
- X coordinatey
- Y coordinate
public int getX()
public int getY()
public int getWifiRadius()
public long getArsuID_()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |