Exemple #1
0
 public void chatMessageReceived(Message msg) {
   JID jid = msg.getFromAddress();
   log.debug((new StringBuilder("JIDStucture:")).append(jid.toString()).toString());
   String msgBody = msg.getBody();
   log.debug((new StringBuilder("message Body:")).append(msgBody).toString());
   // validateMessage()
 }
Exemple #2
0
 public void messageError(Message msg) {
   log.debug("MessageError: " + msg.getErrorText());
 }
Exemple #3
0
 public void messageRead(Message msg) {
   log.debug("Message Read: " + msg.getSubject());
 }