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 import net.sf.dexterim.msn.MsnConnection;
22
23 /***
24 *@author christoph
25 */
26 public class UserTypingMessage extends MimeMessage {
27 private String account;
28 private String nick;
29
30 /***
31 * Creates a new instance of UserMessage
32 */
33 public UserTypingMessage() {
34 }
35
36 /***
37 * Gets the messageCommand attribute of the UserTypingMessage object
38 *
39 *@return The messageCommand value
40 */
41 public String getMessageCommand() {
42 return "";
43 }
44
45 /***
46 * Getter for property account.
47 *
48 *@return Value of property account.
49 */
50 public java.lang.String getAccount() {
51 return account;
52 }
53
54 /***
55 * Setter for property account.
56 *
57 *@param account New value of property account.
58 */
59 public void setAccount(java.lang.String account) {
60 this.account = account;
61 }
62
63 /***
64 * Getter for property nick.
65 *
66 *@return Value of property nick.
67 */
68 public java.lang.String getNick() {
69 return nick;
70 }
71
72 /***
73 * Setter for property nick.
74 *
75 *@param nick New value of property nick.
76 */
77 public void setNick(java.lang.String nick) {
78 this.nick = nick;
79 }
80
81 /***
82 * Description of the Method
83 *
84 *@param account
85 * Description of the Parameter
86 *@param nick
87 * Description of the Parameter
88 *@param lineList
89 * Description of the Parameter
90 *@exception net.sf.dexterim.msn.engine.MessageFormatException
91 * Description of the Exception
92 */
93 public void processMessage(
94 String account,
95 String nick,
96 java.util.List lineList)
97 throws net.sf.dexterim.msn.message.MessageFormatException {
98 setAccount(account);
99
100 TokenizedLine tokenLine = new TokenizedLine((String)lineList.get(0));
101
102 setNick(
103 net.sf.dexterim.msn.util.SpecialCharacters.getInstance().decode(
104 tokenLine.getToken(1),
105 true));
106 }
107
108
109
110
111 public void process(MsnConnection connection) {
112
113
114 }
115 }