xmpp

iOS XMPP chat through HTTP proxy

余生颓废 提交于 2020-01-04 23:55:22
问题 I have an iPhone application which works with 2 services: work with REST service over http - use AFNetworking have XMPP chat over TCP - use XMPPFramework https://github.com/robbiehanson/XMPPFramework My iPhone uses corporate network with proxy, so I set HTTP proxy in Settings http://qblx.co/1eJ9TwI With this proxy settings all requests to REST service go through this proxy. But, my application connects direct to Chat server, without proxy. How to make Chat works through proxy? As I can see,

Need a solution to implement xmpp add friends in group chat and sending message to them in once in ios

陌路散爱 提交于 2020-01-04 19:57:25
问题 I'm having difficulties to add friends, sending invitations and also in group chat like sending one message for all using xmpp. i know that I need to use XEP-0045. But I am not succeeded. Can anybody tell me how to do it. Send friend request for one to one chat. send invitation to join chat room. send message to chat room's friends. if somebody has sample code that would be great.. Thanks in advance 回答1: for #3 : send message to chat room's friends. -(void) sendGroupMessage:(NSString *)

Need a solution to implement xmpp add friends in group chat and sending message to them in once in ios

家住魔仙堡 提交于 2020-01-04 19:56:10
问题 I'm having difficulties to add friends, sending invitations and also in group chat like sending one message for all using xmpp. i know that I need to use XEP-0045. But I am not succeeded. Can anybody tell me how to do it. Send friend request for one to one chat. send invitation to join chat room. send message to chat room's friends. if somebody has sample code that would be great.. Thanks in advance 回答1: for #3 : send message to chat room's friends. -(void) sendGroupMessage:(NSString *)

“MultiUserChat.addInvitationListener” not being called

爱⌒轻易说出口 提交于 2020-01-04 14:19:04
问题 I am working on a GroupChat process. I have successfully sent the invitation and using PSI i have received this invitation. But M unable to invoke my own " MultiUserChat.addInvitationListener ". I have done this many ways but in-vain. Here is one of my attempt. ProviderManager pm = ProviderManager.getInstance(); pm.addExtensionProvider("x", "http://jabber.org/protocol/muc#user", new MUCUserProvider()); MultiUserChat.addInvitationListener(mXmppConnection, MyClass.this); And doing " MyClass

How to use MucEnterConfiguration in android smack 4.2.0-beta1?

匆匆过客 提交于 2020-01-04 14:16:43
问题 I want to rejoin room and don’t want any history, but DiscussionHistory is deprecated. So I found class MucEnterConfiguration . But I am unable to create object of MucEnterConfiguration . MucEnterConfiguration is a final class so it can’t be extends and don’t have a public constructor. MucEnterConfiguration.Builder is also final class so it can’t be extends and don’t have a public constructor. How I can create object of it. Thanks 回答1: EntityBareJid mucJid = JidCreate.entityBareFrom(roomJid);

How to set and get presence in xmpp android

ⅰ亾dé卋堺 提交于 2020-01-04 05:36:18
问题 I am new to android and xmpp..i am trying to build a chatting app using xmpp. I want to know How to set my presence and also get other users presence in xmpp android. i tried with their provided documentation but it is not working ..always status shows null and type as unavailable. please post a detail answer. Roster roster = Roster.getInstanceFor(connection); //Get all rosters if (!roster.isLoaded()) try { roster.reloadAndWait(); } catch (SmackException.NotLoggedInException | SmackException

Spring integration XMPP and Google Cloud Messaging

六月ゝ 毕业季﹏ 提交于 2020-01-04 04:05:27
问题 I'm using the spring integration xmpp module to write a custom implementation of a 3rd party Server connecting to GCM cloud services, as in GCM Cloud Connection Server (XMPP). So far I've successfully connected to the GCM server, however when I send a message to the server I end up with something like: <message id="m-1366082849205" to="REGISTRATION_ID"> <body>{"hello":"world"}</body> </message> , but I need to send something like this: <message id=""> <gcm xmlns="google:mobile:data"> { "to":

XMPPStreamManagement in iOS unable to send/receive acknowledgement and stanza id

微笑、不失礼 提交于 2020-01-04 02:53:12
问题 I am able to send messages to users which means i have a working and authenticated xmppStream. But i am unable to send and receive acknowledgement from server. I want to know which message was received successfully by the server. I googled and found that XEP-0198 should be implemented for this. I am using ejabberd as XMPP server and it supports XEP-0198. I tried that but i don't know if i am doing it right or not. First of all i included the header file and added XMPPStreamManagementDelegate.

XMPP Libraries for Metro Apps in WinRT [closed]

烂漫一生 提交于 2020-01-03 13:36:53
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Could you please list down some XMPP Libraries which supports for Metro Apps in WinRT? Thanks! 回答1: MatriX is available for WinRT

Testing XMPP Chat Server with JMeter

坚强是说给别人听的谎言 提交于 2020-01-03 11:13:20
问题 I'm looking to do some performance and load testing on a XMPP/HTTP Web services server using JMeter. I'm new to JMeter and am starting to get my head around the basics, but I would like to get these tests up and running ASAP so am reaching out for some help. I was able to find a sample JMeter Test Plan which I was hopeful I could adapt and get up and running in no time, however that didn't really pan out, using Wireshark, messages from the client are sent using TCP. I tried using this yandex