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

📄 clientevent.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      ClientEvent.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   Transports SessionInfo or SubjectInfoVersion:   $Id: ClientEvent.java 14038 2005-11-12 11:11:41Z laghi $------------------------------------------------------------------------------*/package org.xmlBlaster.authentication;import org.xmlBlaster.engine.qos.ConnectQosServer;/** * An event which indicates that a client did a login or logout. * It carries the SessionInfo reference inside * * @author Marcel Ruff */public class ClientEvent extends java.util.EventObject {      /**    * Constructs a ClientEvent object.    *    * @param the client which does the login or logout    */   public ClientEvent(SessionInfo sessionInfo) {       super(sessionInfo);   }   /**    * Returns the connectQos or null of the event.    * @return the connectQos (could be null if not passed in the constructor)    */   public ConnectQosServer getConnectQos() {                       return getSessionInfo().getConnectQos();   }      /**    * Returns the originator of the event.    *    * @return the client which does the login or logout    */   public SessionInfo getSessionInfo() {       return (SessionInfo)source;   }   /**    * Constructs a ClientEvent object.    *    * @param the client which does the login or logout    */   public ClientEvent(SubjectInfo subjectInfo) {       super(subjectInfo);   }   /**    * Returns the originator of the event.    *    * @return the client which does the login or logout    */   public SubjectInfo getSubjectInfo() {       return (SubjectInfo)source;   }}

⌨️ 快捷键说明

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