package net.northking.cctp.upperComputer.driver.usbmuxd;

import net.northking.cctp.upperComputer.driver.usbmuxd.payload.usbmuxd.entity.DeviceConnectionDetail;
import net.northking.cctp.upperComputer.deviceManager.IOSDeviceManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class IOSDeviceListener implements AppleDeviceWatcher.OnDeviceChangeListener{

    private Logger logger = LoggerFactory.getLogger(IOSDeviceListener.class);

    @Override
    public void onChange(DeviceConnectionDetail deviceConnectionDetail) {
        IOSDeviceManager.getInstance().handleIosDevice(deviceConnectionDetail);
    }
}
