characterdeviceapi.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 26 行

JAVA
26
字号
/**
 * $Id: CharacterDeviceAPI.java,v 1.1 2003/11/25 11:42:36 epr Exp $
 */
package org.jnode.driver.character;

import java.nio.channels.ByteChannel;

import org.jnode.driver.Device;
import org.jnode.driver.DeviceAPI;
import org.jnode.driver.DeviceException;

/**
 * @author qades
 */
public interface CharacterDeviceAPI extends DeviceAPI {

	/**
	 * Aquire the channel associated with this device.
	 * @param owner the subsequent owner of this channel
	 * @return The channel
	 * @throws ChannelAlreadyOwnedException if the channel to this device is already owned
	 * @throws DeviceException
	 */
	public ByteChannel getChannel(Device owner) throws ChannelAlreadyOwnedException, DeviceException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?