abstractrequest.java

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 53 行

JAVA
53
字号
     package com.croftsoft.apps.chat.request;     import java.io.Serializable;     import com.croftsoft.core.lang.NullArgumentException;     import com.croftsoft.core.security.Authentication;     /*********************************************************************     * An abstract user request to the Server.     *     * @version     *   2003-06-20     * @since     *   2003-06-06     * @author     *   <a href="http://www.croftsoft.com/">David Wallace Croft</a>     *********************************************************************/     public abstract class  AbstractRequest       implements Request     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     {     private static final long  serialVersionUID = 0L;     //     protected final Authentication  authentication;     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     public  AbstractRequest ( Authentication  authentication )     //////////////////////////////////////////////////////////////////////     {       NullArgumentException.check (         this.authentication = authentication );     }     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     public Authentication  getAuthentication ( )     //////////////////////////////////////////////////////////////////////     {       return authentication;     }     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     }

⌨️ 快捷键说明

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