summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/libvirt/domain/device/HostdevAddressableTarget.java
blob: ca06065d675eab0ebf39f614113b1d29ea78c42f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.openslx.libvirt.domain.device;

/**
 * Addressable target operations for a hostdev device.
 * 
 * @author Manuel Bentele
 * @version 1.0
 *
 * @param <T> type of the target.
 */
public abstract interface HostdevAddressableTarget<T>
{
	/**
	 * Returns the target of the target device (in the virtual machine).
	 * 
	 * @return target of the target device (in the virtual machine).
	 */
	public T getPciTarget();

	/**
	 * Sets the target for the target device (in the virtual machine).
	 * 
	 * @param target target for the target device (in the virtual machine).
	 */
	public void setPciTarget( T target );
}