Package | Description |
---|---|
sime |
Modifier and Type | Field and Description |
---|---|
private Link |
Simulator.link1
The communication link that connects
Simulator.senderEndpt to Simulator.router . |
private Link |
Simulator.link2
The communication link that connects
Simulator.receiverEndpt to Simulator.router . |
private Link |
Endpoint.networkLayerProtocol
Communication link adjoining this endpoint.
|
(package private) Link |
Router.OutputPort.outgoingLink
The outgoing link associated with this output port.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<NetworkElement,Link> |
Router.forwardingTable
Router's forwarding table maps the destination node
(found in the Packet header) to the outgoing link.
|
protected java.util.HashMap<Link,Router.OutputPort> |
Router.outputPorts
Output ports associated with the router's links.
|
Modifier and Type | Method and Description |
---|---|
Link |
Endpoint.getNetworkLayerProtocol() |
Modifier and Type | Method and Description |
---|---|
void |
Router.addForwardingTableEntry(NetworkElement node_,
Link outgoingLink_)
Adds another entry into the router's forwarding table.
|
protected double |
Router.OutputPort.calculateMismatchRatio(Link incomingLink_)
Helper method to calculate the mismatch ratio of an
incoming and the outgoing link as:
|
void |
Endpoint.setLink(Link adjoiningLink_)
Configures this endpoint with the adjoining
communication link object, the attribute
Endpoint.networkLayerProtocol . |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Router.OutputPort.updateMaxMismatchRatios(java.util.Collection<Link> allLinks_)
Calculates the maximum mismatch ratio for the associated
outgoing link relative to all other (incoming) links.
|
Constructor and Description |
---|
Router.OutputPort(Link outgoingLink_)
Constructor for the inner class.
|