Uses of Class
org.cloudbus.cloudsim.network.VmPacket
Package
Description
Provides network-enabled
Cloudlet
implementations.Provides classes to define network assets, such
as different kinds of
AbstractSwitch
and also the NetworkTopology
that can be specified in some standard file format and read
using a implementation of TopologyReader
.Provides
CloudletTaskScheduler
implementations
to perform network packet dispatching by a regular
CloudletScheduler
.Provides network-enabled
Vm
implementations.-
Uses of VmPacket in org.cloudbus.cloudsim.cloudlets.network
Modifier and TypeMethodDescriptionCloudletSendTask.addPacket
(NetworkCloudlet destinationCloudlet, long bytes) Creates and adds a packet to the list of packets to be sent to aCloudlet
that is inside a specific VM.Modifier and TypeMethodDescriptionCloudletReceiveTask.getPacketsReceived()
Gets the list of packets received.CloudletSendTask.getPacketsToSend()
CloudletSendTask.getPacketsToSend
(double sendTime) Gets the list of packets to send, updating packets' send time to the given time and clearing the list of packets, marking the task as finished.Modifier and TypeMethodDescriptionvoid
CloudletReceiveTask.receivePacket
(VmPacket packet) Receives a packet sent from aCloudletSendTask
and add it to the received packet list. -
Uses of VmPacket in org.cloudbus.cloudsim.network
Modifier and TypeMethodDescriptionHostPacket.getVmPacket()
Gets information about the virtual sender and receiver entities of the packet (the sender and receiver Cloudlet and their respective VMs).ModifierConstructorDescriptionHostPacket
(NetworkHost sourceHost, VmPacket vmPacket) Creates a packet to be sent through the network between two hosts. -
Uses of VmPacket in org.cloudbus.cloudsim.schedulers.cloudlet.network
Modifier and TypeMethodDescriptionCloudletTaskScheduler.getVmPacketsToSend()
Gets a read-only list ofVmPacket
's to send from the Vm of this scheduler to other VMs.CloudletTaskSchedulerSimple.getVmPacketsToSend()
Modifier and TypeMethodDescriptionboolean
CloudletTaskScheduler.addPacketToListOfPacketsSentFromVm
(VmPacket pkt) Adds a packet to the list of packets sent by a given VM, targeting the VM of this scheduler.boolean
CloudletTaskSchedulerSimple.addPacketToListOfPacketsSentFromVm
(VmPacket pkt) -
Uses of VmPacket in org.cloudbus.cloudsim.vms.network
Modifier and TypeMethodDescriptionNetworkVm.getReceivedPacketList()
List of packets received by the VM.Modifier and TypeMethodDescriptionvoid
NetworkVm.setReceivedPacketList
(List<VmPacket> receivedPacketList)