SSF.Net
Interface linkLayer

All Known Implementing Classes:
lanLinkLayer, ptpLinkLayer

public interface linkLayer

Link layer interface -- determines link-layer routing semantics for packets written on any attached interface of the associated link.


Method Summary
 link onLink()
          Return a reference to the link for which this is the linkLayer implementation.
 java.util.Enumeration peers(NIC forNIC)
          Return the attached interfaces that are peers to the given interface.
 com.renesys.raceway.SSF.Event[] receive(NIC forNIC)
          Poll the link layer for any packets currently available for receipt
 void transmit(NIC forNIC, PacketEvent pevt, long qdelay)
          Send a packet with the given delay on behalf of the NIC
 void up(NIC nic)
          Bring up the given NIC over this link layer
 

Method Detail

onLink

public link onLink()
Return a reference to the link for which this is the linkLayer implementation.


up

public void up(NIC nic)
Bring up the given NIC over this link layer


transmit

public void transmit(NIC forNIC,
                     PacketEvent pevt,
                     long qdelay)
Send a packet with the given delay on behalf of the NIC


receive

public com.renesys.raceway.SSF.Event[] receive(NIC forNIC)
Poll the link layer for any packets currently available for receipt


peers

public java.util.Enumeration peers(NIC forNIC)
Return the attached interfaces that are peers to the given interface.