XmlMsgFormat.java :  » Messenger » projectnox » nox » xml » Java Open Source

Java Open Source » Messenger » projectnox 
projectnox » nox » xml » XmlMsgFormat.java
package nox.xml;

/**
 * </p>
 * :<br>
 * <code>
 * &ltnamespace><br>
 * &ltsender/><br>
 * &ltsenderID/><br>
 * &ltreceiver/><br>
 * &ltreceiverID/><br>
 * &lttime/><br>
 * <b>&ltdata/></b><br>
 * &ltparam/><br>
 * &lt/namespace><br>
 * </code></p>
 * :<br>
 * <ol>
 * <li><b>&ltdata/></b>, &ltnamespace>.</li>
 * <li>&ltparam/>, (DES/CBC).
 * , .</li>
 * </ol><br>
 * @author shinysky
 *
 */
public class XmlMsgFormat {
  /**
   * PING/PONG msg namespace name
   */
  public final static String PINGMSG_NAMESPACE_NAME = "NoXPingMsg";
  public final static String PONGMSG_NAMESPACE_NAME = "NoXPongMsg";
  
  /**
   * Text/Picture/File msg namespace name 
   */
  public final static String MESSAGE_NAMESPACE_NAME = "NoXMessage";
  public final static String PICTUREMSG_NAMESPACE_NAME = "NoXPictureMsg";
  public final static String FILEMSG_NAMESPACE_NAME = "NoXFileMsg";
  
  /**
   * encoded public key
   */
  public final static String PUBLICKEYENC_NAMESPACE_NAME = "NoXPublicKey";
  /**
   * returned encoded public key
   */
  public final static String PUBLICKEYENC2_NAMESPACE_NAME = "NoXPublicKey2";
  
  /**
   * msg elements name
   */
  public final static String SENDER_ELEMENT_NAME = "SENDER";
  public final static String SENDERID_ELEMENT_NAME = "SENDERID";
  public final static String RECEIVER_ELEMENT_NAME = "RECEIVER";
  public final static String RECEIVERID_ELEMENT_NAME = "RECEIVERID";
  public final static String TIME_ELEMENT_NAME = "TIME";
  
  public final static String DATA_ELEMENT_NAME = "DATA";
  
  /*public final static String MESSAGE_ELEMENT_NAME = "MSG";
  public final static String PICTURE_ELEMENT_NAME = "PICTURE";
  public final static String FILE_ELEMENT_NAME = "FILE";
  public final static String RESPONSE_ELEMENT_NAME = "RSPON";
  public final static String PUBLICKEYENC_ELEMENT_NAME = "PUBKEY";*/
  
  public final static String PARAMENC_ELEMENT_NAME = "PARAM";
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.