|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Spatial.SpatialTransmitVisitor
Transmission visitor object.
Method Summary | |
---|---|
double |
computeSignal(RadioInfo srcInfo,
Location srcLoc,
Location dst)
Compute signal strength between source radio and given point. |
void |
visitTransmit(RadioInfo srcInfo,
Location srcLoc,
RadioInfo dstInfo,
RadioInterface dstEntity,
Location dstLoc,
Message msg,
java.lang.Long durationObj)
Transmit packet to given destination. |
Method Detail |
---|
double computeSignal(RadioInfo srcInfo, Location srcLoc, Location dst)
srcInfo
- source radio informationsrcLoc
- source radio locationdst
- destination radio location
void visitTransmit(RadioInfo srcInfo, Location srcLoc, RadioInfo dstInfo, RadioInterface dstEntity, Location dstLoc, Message msg, java.lang.Long durationObj)
srcInfo
- source radio informationsrcLoc
- source radio locationdstInfo
- destination radio informationdstEntity
- destination radio entitydstLoc
- destination radio locationmsg
- message to transmitdurationObj
- transmit duration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |