// Path: android/app/src/main/java/com/loicortola/controller/command/Command.java
// public interface Command {
//     void execute();
// }
// 
// Path: android/app/src/main/java/com/loicortola/controller/device/DeviceTypeResolver.java
// public interface DeviceTypeResolver<T> {
//     boolean isSecure();
//     boolean supports(NsdServiceInfo info);
//     boolean supports(SsdpService service);
//     boolean supports(Class<? extends Command> clazz);
//     Device resolve(NsdServiceInfo info);
//     Device resolve(SsdpService service);
//     <T> T getRemoteControl(Device d);
// }


import com.loicortola.controller.command.Command;
import com.loicortola.controller.device.DeviceTypeResolver;
import com.loicortola.controller.R;
package com.loicortola.controller.model;


/**
 * Created by loic on 28/03/2016.
 */
public class Device {

    protected Long dbId;
    protected String id;
    protected int iconDrawable;
    protected String name;
    protected String host;
    protected String key;
    private DeviceTypeResolver resolver;

    public Device() {

    }

// Path: android/app/src/main/java/com/loicortola/controller/command/Command.java
// public interface Command {
//     void execute();
// }
// 
// Path: android/app/src/main/java/com/loicortola/controller/device/DeviceTypeResolver.java
// public interface DeviceTypeResolver<T> {
//     boolean isSecure();
//     boolean supports(NsdServiceInfo info);
//     boolean supports(SsdpService service);
//     boolean supports(Class<? extends Command> clazz);
//     Device resolve(NsdServiceInfo info);
//     Device resolve(SsdpService service);
//     <T> T getRemoteControl(Device d);
// }


// Path: android/app/src/main/java/com/loicortola/controller/model/Device.java
import com.loicortola.controller.command.Command;
import com.loicortola.controller.device.DeviceTypeResolver;
import com.loicortola.controller.R;

package com.loicortola.controller.model;


/**
 * Created by loic on 28/03/2016.
 */
public class Device {

    protected Long dbId;
    protected String id;
    protected int iconDrawable;
    protected String name;
    protected String host;
    protected String key;
    private DeviceTypeResolver resolver;

    public Device() {

    }

    public boolean supports(Class<? extends Command> clazz) {