Uses of Interface
org.cloudbus.cloudsim.network.switches.Switch
Package
Description
Provides network-enabled
Datacenter
implementations.Provides classes that implement the
Switch
interface
to allow creating Network Switches that compose a network topology.-
Uses of Switch in org.cloudbus.cloudsim.datacenters.network
Modifier and TypeMethodDescriptionNetworkDatacenter.getEdgeSwitch()
Gets a map of all Edge Switches in the Datacenter network, where each key is the switch id and each value is the switch itself.NetworkDatacenter.getSwitchMap()
Gets a read-only list of network Datacenter'sSwitch
es. -
Uses of Switch in org.cloudbus.cloudsim.network.switches
Modifier and TypeClassDescriptionclass
An abstract class for implementing NetworkSwitch
es.class
This class represents an Aggregate Switch in a Datacenter network.class
Represents an Edge Switch in a Datacenter network, which can be connected toNetworkHost
s.class
Allows simulating a Root switch which connects Datacenters to an external network.Modifier and TypeFieldDescriptionstatic final Switch
Switch.NULL
An attribute that implements the Null Object Design Pattern forSwitch
objects.Modifier and TypeMethodDescriptionAbstractSwitch.getDownlinkSwitches()
Switch.getDownlinkSwitches()
Gets the list of Switches in the lower layer that this Switch is connected to.AbstractSwitch.getUplinkSwitches()
Switch.getUplinkSwitches()
Gets the list of Switches in the upper layer that this Switch is connected to.Modifier and TypeMethodDescriptionprotected void
AbstractSwitch.addPacketToSendToDownlinkSwitch
(Switch downlinkSwitch, HostPacket packet) Adds a packet that will be sent to a downlinkSwitch
.protected void
AbstractSwitch.addPacketToSendToUplinkSwitch
(Switch uplinkSwitch, HostPacket packet) Adds a packet that will be sent to a uplinkSwitch
.protected List<HostPacket>
AbstractSwitch.getDownlinkSwitchPacketList
(Switch downlinkSwitch) Gets the list of packets to be sent to a downlink switch.protected List<HostPacket>
AbstractSwitch.getUplinkSwitchPacketList
(Switch uplinkSwitch) Gets the list of packets to be sent to an uplink switch.