|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.renesys.raceway.SSF.Entity
|
+--SSF.Net.ptpLinkLayer
Class implementing the special case of a link layer with exactly two attached interfaces: a point-to-point link.
| Constructor Summary | |
ptpLinkLayer(link L)
|
|
| Method Summary | |
protected com.renesys.raceway.SSF.inChannel |
in(NIC fromNIC)
|
link |
onLink()
Return a reference to the link for which this is the linkLayer implementation. |
NIC |
peer(NIC forNIC)
|
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 available for receipt |
void |
transmit(NIC forNIC,
PacketEvent pevt,
long qdelay)
Send a packet with the given queueing delay |
void |
up(NIC nic)
Bring up the given NIC over this link layer |
| Methods inherited from class com.renesys.raceway.SSF.Entity |
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resetSimulation, resumeAll, startAll, startAll, startClient, startClient, startServer, Vx, Yx |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ptpLinkLayer(link L)
| Method Detail |
public link onLink()
linkLayer
onLink in interface linkLayerprotected com.renesys.raceway.SSF.inChannel in(NIC fromNIC)
public void up(NIC nic)
up in interface linkLayer
public void transmit(NIC forNIC,
PacketEvent pevt,
long qdelay)
transmit in interface linkLayerpublic com.renesys.raceway.SSF.Event[] receive(NIC forNIC)
receive in interface linkLayerpublic NIC peer(NIC forNIC)
public java.util.Enumeration peers(NIC forNIC)
linkLayer
peers in interface linkLayer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||