📄 rmiserverif.java
字号:
/******************************************************************************* * Copyright (C) 2002, 2003 * ingenieurbuero fuer innovative informationstechnik (iiit) * Dipl.-Ing. Joerg Beckmann, Dortmund, Germany * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * or look at http://www.gnu.org/copleft/lesser.html. * * version $Id: RMIServerIf.java,v 1.4 2003/04/13 21:13:38 joerg Exp $ ******************************************************************************/package de.iiit.access.common.api;import java.rmi.*;/** This interface describes the public API of the RMI server. * @version $Revision: 1.4 $ $Date: 2003/04/13 21:13:38 $ */public interface RMIServerIf extends Remote{ /** The AccessServer's default RMI port */ public static final int DEFAULT_RMI_PORT = 54322; /** Returns a new RMI session for a distinct user. * @param user the name of the for whom the session will be used. * @throws RemoteException if there are any RMI errors. * @return the newly created session */ public RMISessionIf getSession(String user) throws RemoteException; /** Shuts the server down. * @throws RemoteException if there are any RMI errors. */ public void serverShutdown() throws RemoteException; }/** * $Log: RMIServerIf.java,v $ * Revision 1.4 2003/04/13 21:13:38 joerg * Copyright statements changed to LGPL * * Revision 1.3 2003/04/13 20:16:41 joerg * Package structure modified * * Revision 1.2 2003/04/07 20:08:49 joerg * Improved JavaDoc. * * Revision 1.1 2003/03/30 20:42:39 joerg * Interfaces of the RMIServer * */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -