loginservicermi.java

来自「Java mulitplayer strategy game. Adaptati」· Java 代码 · 共 37 行

JAVA
37
字号
/*
 * LoginServiceRMI.java
 *
 * Created on 17 pa焏ziernik 2005, 20:24
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package net.sf.jawp.gf.api.services.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.security.auth.login.LoginException;

/**
 *
 * @author jarek
 * @param <GAMESERVICE> native game service 
 */
public interface LoginServiceRMI<GAMESERVICE>  extends Remote
{
	String getServerSeed() throws RemoteException;
	
	/**
	 * @todo: instead of User this method should return UserSession (ID) later
	 * @param login
	 * @param clientString
	 * @return
	 */
	SessionServiceRMI<GAMESERVICE> login( final String clientString) throws RemoteException, 
		LoginException;
	
	
}

⌨️ 快捷键说明

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