Class VmPacket

java.lang.Object
org.cloudbus.cloudsim.network.VmPacket
All Implemented Interfaces:
NetworkPacket<NetworkVm>

public class VmPacket extends Object implements NetworkPacket<NetworkVm>
Since:
CloudSim Toolkit 1.0
Author:
Saurabh Kumar Garg, Manoel Campos da Silva Filho
  • Constructor Details

    • VmPacket

      public VmPacket(NetworkVm sourceVm, NetworkVm destinationVm, long size, NetworkCloudlet senderCloudlet, NetworkCloudlet receiverCloudlet)
      Creates a packet to be sent to a VM inside the Host of the sender VM.
      Parameters:
      sourceVm - id of the VM sending the packet
      destinationVm - id of the VM that has to receive the packet
      size - data length of the packet in bytes
      senderCloudlet - cloudlet sending the packet
      receiverCloudlet - cloudlet that has to receive the packet
  • Method Details