国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
XMPP的開發(fā)知識匯總

服務(wù)器

開源的服務(wù)實現(xiàn)如Openfire

商業(yè)實現(xiàn)如gtalk

 

客戶端Libraries

C#

C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft. With a syntax heavily influenced by C++, Delphi, and Java, as well as broad support in Windows tools and the .NET Framework, C# has become a popular choice for many developers. The following are the primary open source libraries:

agsXMPP

agsXMPP is an SDK that can be used for client, component, and server development. License: GPL/Commercial. Website: http://www.ag-software.de/.

jabber-net

The jabber-net library provides a set of .NET controls for sending and receiving XMPP data. It includes support for client connections, server components, presence, service discovery, and other XMPP primitives. License: LGPL. Website: http://code.google.com/p/jabber-net/.

Java

Java is a general purpose, object-oriented programming language developed by Sun Microsystems. Although originally developed for client-side applications, it is also quite popular in servers and general applications. Its two main libraries are:

JSO

The Jabber Stream Objects (JSO) library is a solid implementation that is mainly used for component and server development. It includes low-level support for Jabber/XMPP protocol elements, as well as a fully controllable stream connection interface, with the goal of providing a highly customizable and flexible platform for building Jabber-based applications. License: LGPL. Website: https://jso.dev.java.net/.

Smack

Smack is a very popular, full-featured library for writing clients, bots, and other applications. It was produced by the same developers who created the Openfire server and the Spark client. License: Apache. Website: http://www.igniterealtime.org/projects/smack/.

JavaScript

JavaScript is the most popular scripting language for client-side web development. Because the integration of Jabber features into websites is of inherent interest, there are many JavaScript libraries for XMPP development, as listed here:

JSJaC

JSJaC is an object-oriented library that supports client connections to XMPP servers via BOSH or the older HTTP Polling method. It uses the Ajax methodology and is fully compatible with all major Ajax/JavaScript frameworks. License: Mozilla Public License or GPL or LGPL. Website: http://blog.jwchat.org/jsjac/.

Strophe

Strophe is a well-documented library for developing XMPP clients, including robust TLS and SASL support. Strophe comes in two flavors: C (libstrophe) and JavaScript (strophejs). License: GPL. Website: http://code.stanziq.com/strophe/.

XMPP4GWT

The XMPP4GWT library is created by the producers of the Tigase XMPP server and uses the Google Web Toolkit (GWT) framework. License: GPLv3. Website: http://www.tigase.org/en/project/xmpp4gwt.

xmpp4js

The xmpp4js library is used in the Soashable web-based messenger. It has been heavily tested and has a strong emphasis on reusability and extensibility. License: LGPL. Website: http://xmpp4js.sourceforge.net/.

 

解決方案例子

如下是提供JAVA和.net解決方案的廠商

http://www.igniterealtime.org

Smack is a client library. You can use it to log into an XMPP domain and make use of the functionality it provides. Typically, Smack is used to implement a instant messaging client.

Tinder is a low-level XMPP library. It provides Java implementations of basic XMPP entities, such as Stanzas (called 'Packet' in XMPP), JIDs and Components (which typically implement part of the functionality of an XMPP server). Although in theory, Tinder could be used to implement client functionality, it currently is primarily used on the server-side. Both Whack and Openfire (an XMPP server implementation) use Tinder-defined entities. Smack does not use Tinder at all.

Whack is Java library that is used to implement external components. Whack allows a Component (as defined in Tinder) to run as a stand-alone process. Whack allows you to connect this process to an XMPP domain. This way, you can extend the functionality provided by that domain without modifying the implementation of the server software.

Whack is for external component development.  Although the component code is in Tinder, the means to externalize the component so it runs in its own process is here.

Tinder is a base set of XMPP classes used by Whack and Openfire.  It contains the code needed for component development.

Smack is for client development.

www.ag-software.de

agsXMPP is a SDK / library for the eXtensibleMessaging and Presence Protocol (XMPP) protocol written in managed C# dedicated to .NET and Mono technologies. The SDK is released as open source under a dual license.

Our SDK could be used for XMPP client, server and component development.

MatriX is the successor of the agsXMPP library. For commercial projects we recommend to use MatriX.

agsXMPP:Open Source

MartriX: Commercial

Server components / Plugin

Component Developer Guide

http://community.igniterealtime.org/docs/DOC-1924

XMPP Components enhance the functionality of an XMPP domain. They receive all stanzas that are addressed to a particular subdomain of the XMPP domain. Two types of components are identified: "internal components" run within the server software and typically have direct access to the server software API. "External components" on the other hand run outside of the server software and connect to the XMPP domain over a network protocol.

基于標(biāo)準(zhǔn)協(xié)議,因此編寫的組件可以在其他的服務(wù)器上使用

Plugin

插件,每個服務(wù)器有自己的定義和實現(xiàn)方式,和服務(wù)器緊密集成,一般不可用于其他的服務(wù)器

 

參考圖書

Professional XMPP Programming with JavaScript and jQuery

xmpp the definitive guide building real time applications with jabber technologies

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Introducing RTSC - RTSC-Pedia
What Programming Language Should a Beginner Learn in 2016? | Codementor
組件化、模塊化、集中式、分布式、服務(wù)化、面向服務(wù)的架構(gòu)、微服務(wù)架構(gòu)
Parallel Programming - Basic Theory For The Unwary
嘉興市TPG_AC7120認(rèn)證_AC7120_電路卡組件的審核標(biāo)準(zhǔn)(8)
Component Object Model (COM) 是什么?
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服