Package org.jivesoftware.smack

Examples of org.jivesoftware.smack.Chat.sendMessage()


              .createChat(receiverName, new MessageListener() {
                public void processMessage(Chat chat,
                    Message message) {
                }
              });
          localChat.sendMessage(aMsg);
        } else if (receiver instanceof XMPPRoomID) {
          final XMPPRoomID roomID = (XMPPRoomID) receiver;
          aMsg.setType(Message.Type.groupchat);
          final String to = roomID.getMucString();
          aMsg.setTo(to);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.