⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iremotefilesystem.java

📁 编了一个简单的聊天器
💻 JAVA
字号:
/*
 * This file is a part of the RMI Plugin for Eclipse tutorials.
 * Copyright (C) 2002-7 Genady Beryozkin
 * 
 * You are free to modify this file, as long as you leave
 * the following copyright:
 * 
 * This file is based on the Remote File System example of
 * the RMI Plug-in for Eclipse. The original code is 
 * Copyright (C) 2002-7 Genady Beryozkin
 */

package demo.rmi.filesystem.common;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * An interface that represents a remote file system.
 * It should be used to retrieve the roots of the remote file system.
 * 
 * @author Genady Beryozkin, rmi-info@genady.net
 */
public interface IRemoteFileSystem extends Remote {

	/**
	 * Return the host name at which the file system is located.
	 */
	public String getHost() throws RemoteException;
	
	/**
	 * Return the list of file system roots of the remote file system.
	 */
	public IRemoteFile[] getRoots() throws RemoteException;
	
	/**
	 * Return a remote file instance for the given path.
	 */
	public IRemoteFile getRemoteFile(String path) throws RemoteException;
}

⌨️ 快捷键说明

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