1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.sf.dexterim.msn.message;
20
21
22 /***
23 *@author christoph
24 */
25 public class FileTransferInvitation {
26 String mimeHeader =
27 "MIME-Version: 1.0\n" + "Content-Type: text/x-msmsgsinvite; charset=UTF-8";
28 String applicationHeader =
29 "Application-Name: File Transfer\n"
30 + "Application-GUID: {5D3E02AB-6190-11d3-BBBB-00C04F795683}";
31 String inviteCommand = "Invitation-Command: INVITE";
32 String inviteCodeHeader = "Invitation-Cookie:";
33 String applicationFileHeader = "Application-File:";
34 String applicationFileSize = "Application-FileSize:";
35
36 /***
37 * Creates a new instance of FileTransferInvitation
38 */
39 public FileTransferInvitation() {
40 }
41
42 /***
43 * Gets the multipartMessage attribute of the FileTransferInvitation object
44 *
45 *@return The multipartMessage value
46 */
47 public boolean isMultipartMessage() {
48 return true;
49 }
50
51 /***
52 * Adds a feature to the Line attribute of the FileTransferInvitation
53 * object
54 *
55 *@param line The feature to be added to the Line attribute
56 *@return Description of the Return Value
57 */
58 public MsnMessage addLine(String line) {
59 return null;
60 }
61
62 /***
63 * Gets the complete attribute of the FileTransferInvitation object
64 *
65 *@return The complete value
66 */
67 public boolean isComplete() {
68 return true;
69 }
70 }