presencetype.java
来自「基于Jabber协议的即时消息服务器」· Java 代码 · 共 60 行
JAVA
60 行
/** * $Revision$ * $Date$ * * Copyright (C) 2006 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */package org.jivesoftware.wildfire.gateway;/** * An enumeration for different presence types. * * This is combined into a single variable, which is differnet than the * typical situation of having to determine the status by looking at both * the presence stanza's type and show fields. * * @author Daniel Henninger */public enum PresenceType { /** * Available (aka online) */ available, /** * Away */ away, /** * XA (extended away) */ xa, /** * DND (do not disturb) */ dnd, /** * Chat (free to chat) */ chat, /** * Unavailable (offline) */ unavailable, /** * Unknown */ unknown}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?