public interface PhysicalLayer
This is currently implemented by the simulator.
Method Summary | |
---|---|
void |
transmit(int fromNode,
int toNode,
DatalinkPacket packet)
Call this method to send a packet to a neighbor. |
Method Detail |
---|
void transmit(int fromNode, int toNode, DatalinkPacket packet)
fromNode
- an int
valuetoNode
- an int
valuepacket
- a DatalinkPacket
value