/*
* jlscp - a java LinuxSampler control protocol API
*
* Copyright (C) 2005 Grigor Kirilov Iliev
*
* This file is part of jlscp.
*
* jlscp is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* jlscp is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with jlscp; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
package org.linuxsampler.lscp;
/**
* Defines the generic properties that every device should have.
*
* @author Grigor Iliev
*/
public interface Device {
/**
* Gets the driver name used by this device.
* @return The driver name used by this device.
*/
public String getDriverName();
/**
* Determines whether this device is active.
* @return false
if the device is inactive and true
otherwise.
*/
public boolean isActive();
/**
* Gets Parameter
array with the additional parameters of this device.
* @return Parameter
array with the additional parameters of this device.
*/
public Parameter[]
getAdditionalParameters();
/**
* Determines whether this device has additional parameters.
* @return true
if this device has additional parameters,
* false
otherwise.
*/
public boolean
hasAdditionalParameters();
}