📄 messengerprotocol.java
字号:
package connex.plugins.Messenger;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class MessengerProtocol {
protected static String version = "ConneX_Messenger_v0.1";
/* Message types*/
protected static String message = "message";
protected static String picture = "picture";
protected static String file= "file";
/*
* PresenceService also defines it own protocol. Requests arrive as a JXTA
* Message with the following elements:
*/
//Protocol header
protected static String nameSpace = "ConneXMessenger";
protected static String versionTag = "version";
public static final String membIDTag = "memberID";
public static final String membNameTag= "membName";
public static final String typeTag = "type";
//protocol data
public static final String messageTag = "messageTag";
public static final String pictureTag = "pictureTag";
public static final String fileTag = "FileTag";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -