|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Base
Base header that all GPSR packets should contain. To lessen broadcasting every packet that is seen needs to contain location information from the originator to update location tables, instead of directly relying on broadcasting.
Method Summary | |
---|---|
int |
getFromAddress()
All headers should have a way to get the senders address. |
Location |
getFromLocation()
All headers should also have a way to get the senders location. |
Methods inherited from interface Sim.ProtocolFrame |
---|
getSize |
Method Detail |
---|
int getFromAddress()
Location getFromLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |