public abstract class
AbstractSwitchextends CloudSimEntity implements Switch¶
An base class for implementing Network Switch.
Author: Saurabh Kumar Garg, Manoel Campos da Silva Filho
networkDelayForPacketTransmission(HostPacket netPkt, double bwCapacity, List<HostPacket> netPktList)¶
Computes the network delay to send a packet through the network.
- netPkt – the packet to be sent
- bwCapacity – the total bandwidth capacity (in Megabits/s)
- netPktList – the list of packets waiting to be sent
the expected time to transfer the packet through the network (in seconds)