edu.gwu.simplenetsim
Interface PhysicalLayer

All Known Implementing Classes:
SimpleNetSim

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

transmit

void transmit(int fromNode,
              int toNode,
              DatalinkPacket packet)
Call this method to send a packet to a neighbor.

Parameters:
fromNode - an int value
toNode - an int value
packet - a DatalinkPacket value