?? 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 + -