SSF.Net
Class link

java.lang.Object
  |
  +--com.renesys.raceway.SSF.Entity
        |
        +--SSF.Net.link
All Implemented Interfaces:
com.renesys.raceway.DML.Configurable

public class link
extends com.renesys.raceway.SSF.Entity
implements com.renesys.raceway.DML.Configurable

Class configuring a level 2 link depending on the number of attached interfaces: if 2 interfaces are attached it will create an instance of SSF.Net.ptpLinkLayer; if 3 or more interfaces are attached it will create an instance of SSF.Net.lanLinkLayer.


Constructor Summary
link(Net N, java.lang.String use_nhi)
           
 
Method Summary
 void config(com.renesys.raceway.DML.Configuration cfg)
          Configure the link layer with appropriate delay, addresses, and a list of attached interfaces.
 long delay()
          Transmission delay, in ticks.
 
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

link

public link(Net N,
            java.lang.String use_nhi)
Method Detail

delay

public long delay()
Transmission delay, in ticks.


config

public void config(com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Configure the link layer with appropriate delay, addresses, and a list of attached interfaces. Creates a link layer object to handle packet delivery for all attached interfaces; the specific class of link layer created depends on the number of attached interfaces, their properties, and any other DML attributes that might be specified for the link. In the process of bringing up the link layer, each attached interface is opened() and properly configured to send and receive packets.

Specified by:
config in interface com.renesys.raceway.DML.Configurable
com.renesys.raceway.DML.configException