In this section, we start from the Protocol core of asmack and learn about XMPP. Understanding XMPP is an important reason for learning the source code of asmack. This article summarizes XMPP the definitive guide building real-time applications with jabber technologies. 1. What can you do with XMPP?
Objectivehttp://blog.csdn.net/shimiso/article/details/8816558The Java field of Instant Messaging solutions can be considered openfire+spark+smack. There are other options, of course.OpenFire is an Instant Messaging server-side version that is based on the Jabber Protocol (XMPP), which is currently recommended to use the 3.8.1 version, which is currently the latest version and can be found on the web for downloaded source code.Instant Messaging client
Http://gnu-linux.org/xmpp-integration-with-asterisk.htmlXMPP stands for extensible Messaging and Presence Protocol, its a widely used communication Protocol. In this blog I'll use the OpenFire an opensource XMPP server.Asterisk is opensource telephony switching Exchange service for Linux. In this blog I am using the FreePBX Install on CentOS 6.5.In this blog I as
Jabber is a well-known Instant Messaging server, it is a free open source software, allowing users to rack their own Instant Messaging server, can be used on the Internet, but also can be applied in the LAN.XMPP (Extensible Messaging Field Protocol) is an Extensible Markup Language (XML)-based protocol that is used for instant messaging (IM) and online field probing. It facilitates quasi-immediate operation between servers. This agreement may eventually allow Internet users to send instant messa
openfire server, such as a friend profile picture, nickname, gender, age, address, similar to Momo's photo wall and other information data can be accessed through the web service. You only need to match the web database with the user ID of the database, instead of relying on openfire itself, the access to these materials cannot be achieved. When doing this project, I planned to combine web and of to implement more complex and practical functions, but
In the development of real-time communication system based on XMPP protocol, it is necessary to send the language, in general we have two kinds of solutions,1. Use the HTTP transport, transfer the recorded language file to the server, then generate the file directory, obtain the directory when another client requests it, and then download the voice file.2. Encode the recorded voice using BASE64 encoding, then transfer the encoded result string as a no
1. XMPP protocol and OpenFireThe XMPP protocol is a standard protocol in the IM domain, with reference to http://xmpp.org and rfc6120,rfc6121,rfc6122 and other related documents. http://xmpp.org/xmpp-protocols/XMPP protocol implementation, there are many open source, server-side reference http://xmpp.org/
The jabber user is preparing to enter a room (multi-user chat)User creates a roomThe invitee accepts the invitation, joins the room, and receives attendance information and history.The jabber user creates a room and declares support for multi-user chatJoin action: Result SectionInvite action: Result section (s)Send:Xmlns = "http://jabber.org/protocol/muc"/>The Service sends attendance information from existing tenants to new tenants.The
This section describes the principles and related information of the XMPP protocol.
XMPP protocol Introduction
XMPP (Extensible Messageing and Presence Protocol: Extensible message and existing Protocol) is one of the four mainstream IM (IM: instant messaging, instant messaging) protocols. The other three are: instant messaging and space protocol (IMPP), space a
First, download and install OpenFire 1. Download the latest OpenFire installation files Official Download site: Http://www.igniterealtime.org/downloads/index.jsp#openfire OpenFire is the server, there is also a spark, this is an XMPP protocol communication chat CS im software, it can be chat conversations through OpenFire. 2, click Install, and perform the default action 3. Start OpenFire Service In t
such as Message Queuing and distributes these messages to applications running on the target device.
However, this service has a major problem:
1. c2dm is built into the Android 2.2 System and cannot be compatible with the old 1.5 to 2.1 systems;
2. c2dm depends on the c2dm server officially provided by Google. Due to the domestic network environment, this service is often unavailable. If you want to use i
At this stage of communication services, all kinds of standards have, so there will be unable to achieve interconnection, and XMPP (extensible Message and Presence Protocol) protocol, the realization of the entire timely Communication Service protocol interoperability. With this agreement, the use of any one organization or individual, even if the communication services, can be accessible to other users of
This article translates the overview of the XMPP framework section in the XMPP frameworkIntroducedThe framework is divided into 2 parts:1. XMPP Core section2. xmpp extension (ROSTER,XEP ' s, optional support tools, etc.)XMPP core implementation of
XMPP Client library smack version 4.0.6 developmentCHSZS, reprint need to indicate. Blog home: Http://blog.csdn.net/chszsThe characteristics of Smack library1. Extremely easy to use, powerful APISending a text message to a user requires only a few lines of code:Abstractxmppconnection connection = new Xmpptcpconnection ("Mtucker", "Password", "jabber.org"); Connection.connect (); Connection.login (); Chat chat = chatmanager.getinstancefor (connection).
Number
Name
Type
Status
Date
XEP-0001 (PDF)
XMPP extension protocols
Procedural
Active
2010-03-10
XEP-0002 (PDF)
Special interest groups (SIGs)
Procedural
Active
2002-01-11
XEP-0004 (PDF)
Data forms
Standards track
Final
2007-08-13
XEP-0009 (PDF)
Jabber-RPC
Standards track
Final
2011-11-10
XEP-0012 (PDF)
Last Activity
Standards track
F
// XMPPManager. h// InstantMessage//// Created by ChenJungang on 14-1-3.// Copyright (c) 2014 chenjungang. All rights reserved.//# Import # Import "XMPPFramework. h"@ Class XMPPManager;@ Class BuddyItem;@ Class MessageItem;@ Protocol XMPPManagerDelegate // Receives the status information of friends in XMPPManager. The friends list page is passed through proxy.-(Void) XMPPManager :( XMPPManager *) manager didReceiveBuddyItem :( BuddyItem *) item;//-(Void) xmppManager :( XMPPManager *) manager did
In the field of instant messaging, only one XMPP protocol is currently found, and there are many mature products on the basis of their protocols, and they are open source. So I want to know more about it in this field.XMPP Protocol: The specific concept I will not write, after all, this thing is everywhere on the internet. Simply put, it is an XML-based protocol. What problem does it solve? is to set standards for instant messaging, as long as you fol
Configure the software required to configure the XMPP development environment first
Install XAMPP-OSX-1.8.3-5-INSTALLER.DMG First
After the installation is successful, there will be an extra xampp (other) in the launchpad, open the manager-osx inside. After opening the point manager Servers, let three services are started, if you encounter the MySQL service can not boot, but try t
. Certificates15.2.1. certificate generation15.2.1.1. server certificates15.2.1.2. client certificates15.2.1.3. ASN.1 object identifier15.2.2. Certificate Validation15.2.2.1. Server-to-server streams15.2.2.2. Client-to-server streams15.2.2.3. Use of certificates in XMPP extensions15.3. Client-to-Server Communication15.4. Server-to-Server Communication15.5. Order of Layers15.6. Lack of SASL channel binding to TLS15.7. Mandatory-to-implement Technologie
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.