cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/network/switches/AbstractSwitch.java
protected void processHostPacket(SimEvent ev) {
        final HostPacket pkt = (HostPacket) ev.getData();
        final NetworkHost host = pkt.getDestination();
        host.addReceivedNetworkPacket(pkt);
    }
/**
     * Process a packet sent to a host.
     *
     * @param ev The packet sent.
     */
Process a packet sent to a host.
@param ev The packet sent.
Process a packet sent to a host . @param ev The packet sent .
protected void processHostPacket(SimEvent ev) {
        final HostPacket pkt = (HostPacket) ev.getData();
        final NetworkHost host = pkt.getDestination();
        host.addReceivedNetworkPacket(pkt);
    }
protected void processHostPacket ( SimEvent ev ) { final HostPacket pkt = ( HostPacket ) ev . getData ( ) ; final NetworkHost host = pkt . getDestination ( ) ; host . addReceivedNetworkPacket ( pkt ) ; }
Process a packet sent to a host.
Process a packet sent to a host .