openfire

Openfire与XMPP协议

左心房为你撑大大i 提交于 2019-12-03 01:37:09
什么是OpenFire Openfire 采用Java开发,开源的实时协作(RTC)服务器基于XMPP(Jabber)协议。   您可以使用它轻易的构建高效率的即时通信服务器。Openfire安装和使用都非常简单,并利用Web进行管理。单台服务器可支持上万并发用户。 由于是采用开放的XMPP协议,您可以使用各种支持XMPP协议的IM客户端软件登陆服务。 XMPP ( Jabber )协议 1、 介绍 XMPP是一种基于XML的协议,它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。经过扩展以后的XMPP可以通过发送扩展的信息来处理用户的需求,以及在XMPP的顶端建立如内容发布系统和基于地址的服务等应用程 序。而且,XMPP包含了针对服务器端的软件协议,使之能与另一个进行通话,这使得开发者更容易建立客户应用程序或给一个配好系统添加功能。 2、 定义: XMPP(可扩展消息处理现场协议)是基于可扩展标记语言(XML)的协议,它用于即时消息(IM)以及在线现场探测。它在促进服务器之间的准即时操作。这个协议可能最终允许因特网用户向因特网上的其他任何人发送即时消息,即使其操作系统和浏览器不同。 XMPP的前身是Jabber, 一个开源形式组织产生的网络即时通信协议。XMPP目前被IETF国际标准组织完成了标准化工作。标准化的核心结果分为两部分;

amqp or xmpp for real time online games

…衆ロ難τιáo~ 提交于 2019-12-03 01:32:26
问题 Which of these technology suite for Multi user online game project.. Project requirements: 1. Able to handle 2k-5k user at any given time. 2. client library for iphone and android (native, no javascript). 3. client library for Microsoft Windows (most important), also for mac os x and linux. 4. Good documentation specially for mod development 5. Project is not open-source. So, can only use libraries with suitable license. I can program in erlang and java as well, programming language isn't an

Openfire offline notification through PHP

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have installed Openfire 3.10.2 on Ubuntu 12.04 . Chat is working fine and for offline message management I have installed the CallbackOnOffline plugin. When the recipient is offline, a url is called. The plugin loads the url from the plugin.callback_on_offline.url property, adds 'to' and 'from' parameters and executes an asynchronous GET request. Sample Link . I checked what information I get from that and I got a "to" and "from", but I also need those along with the message for the push notifications. Important Part :- I want to

How To get Old Messages (Chat History) from XMPP

亡梦爱人 提交于 2019-12-02 20:41:12
I am new to XMPP. and I need to get chat history from Openfire with XMPP . I did Googling but didn't get satisfactory Answer. Any link or idea will be great help. You need to install Monitoring service plugin to enable message archiving. You may have to upgrade your openfire service if this plugin is not appearing in your available plugins section in the admin console. You will need to log into the admin console and go to: Server --> Archiving --> Archiving Settings to enable message archiving. Hope this helps you. Feel free to comment in case of any queries/doubts. You need to enable

How can i listen incoming subscription request in smack openfire android

一曲冷凌霜 提交于 2019-12-02 19:02:55
问题 I am creating an android chat application using smack openfire.The problem that i am facing is i know how to send and accept subscription request but how can i know if i have received any subscription request. I have used Stanza listener but the listner is only listening to incoming chat messages not subscription request. Below is my code StanzaFilter filter=new StanzaTypeFilter(Message.class); PacketCollector collector=connection.createPacketCollector(filter); connection

Linux中一些常用的命令,比如memcached的开启关闭,防火墙的开启关闭等

前提是你 提交于 2019-12-02 17:12:51
linux 安装libevent: 要安装memcached,需要有libevent的支持。 ce ntos通过 yum install libevent-devel 安装即可 其它版本可通过安装libevent的源文件获得。 linux 安装memcached: yum install memcached-devel 安装即可 启动memcached :memcached -d -m 512 -l 127.0.0.1 -p 11211 -u root 设置memcached开机启动: memcached -u root -d -m 2048 -p 11211 -P /tmp/memcached.pid 远程复制 scp -r zookeeper-3.3.4 192.168.120.223:/home/hadoop/installation/ yum锁定: 可能是系统自动升级正在运行,yum在锁定状态中。 可以通过强制关掉yum进程: #rm -f /var/run/yum.pid 然后就可以使用yum了。 userdel -r username删除用户 1,sudo -su root (以root身份执行su命令) 2,more /.../../hello.txt (打开文件,在任何地方都可以打开指定路径下的文件) 3,rpm -ivh file.rpm (安装rpm格式文件)

安装配置openfire+spark

﹥>﹥吖頭↗ 提交于 2019-12-02 16:45:58
用于企业内的IM工具,免费又好用的不过为Openfire啦。 今天就来介绍一下简单的openfire安装配置过程。 1.下载安装包: wget http://download.igniterealtime.org/openfire/openfire-3.6.4-1.i386.rpm 2.安装: rpm -ivh openfire-3.6.4-1.i386.rpm Preparing… ########################################### [100%] 1:openfire ########################################### [100%] 3.开启服务 service openfire start 4.打开控制台: http://127.0.0.1:9090 5.选择语言: 这里选择:Simplified Chinese (zh_CN) 6.设置服务器: 7.数据库设置: 这里选择标准数据库 8.数据库设置 – 标准连接 9.配置数据库 在终端: cd /opt/openfire/resources/databases/ vi openfire_mysql.sql 修改57行的变量属性: CREATE TABLE ofRoster ( rosterID BIGINT NOT NULL, username

centos 6.5 搭建openfire

落爺英雄遲暮 提交于 2019-12-02 16:45:44
1:安装java环境 yum in stall java* 2:安装mysql 参见http://my.oschina.net/denglz/blog/98434 3:安装openfire 解压 openfire_3_9_3.tar 并移动解压后的目录到/opt目录下 执行/opt/openfire/bin/openfire start #启动openfire服务 访问 http://ip地址:9090 到openfire配置界面 图形配置界面只有一个常会出现的问题,就是连接数据库的时候. 方法下如图: 图形界面配置完成后就可以登陆了! 4:添加openfire的 user service 插件 开发需要用代码来进行openfire用户的添加.这时就需要添加插件user service . 登陆openfire 点击"插件"选项 ;点击"有效的插件" 然后 添加user service插件.添加玩以后点击 服务器->服务器设置->user service 配置 User Service Properties 为 enabled 并设置Secret key 这个key程序用代码添加用户的时候会需要. 配置好以后到"插件"选项里面重启user service服务 然后程序就可以通过 http://ip地址:9090/plugins/userService/userservice

Openfire Android PubSub Subscription request aproval

烂漫一生 提交于 2019-12-02 15:08:53
问题 I am new to Openfire and smack, therefore I have questions regarding pubsub feature. Actually, I have created a node with setAccessModel as authorize , shown below. PubSubManager mgr = new PubSubManager(xmpp.getConnection()); try { LeafNode leaf = mgr.createNode("testNode"); ConfigureForm form = new ConfigureForm(DataForm.Type.submit); form.setAccessModel(AccessModel.authorize); form.setDeliverPayloads(true); form.setNotifyRetract(true); form.setPersistentItems(true); form.setPublishModel

amqp or xmpp for real time online games

孤街醉人 提交于 2019-12-02 14:57:46
Which of these technology suite for Multi user online game project.. Project requirements: 1. Able to handle 2k-5k user at any given time. 2. client library for iphone and android (native, no javascript). 3. client library for Microsoft Windows (most important), also for mac os x and linux. 4. Good documentation specially for mod development 5. Project is not open-source. So, can only use libraries with suitable license. I can program in erlang and java as well, programming language isn't an issue. I was looking at following server technologies like Openfire, Tigase, ejabberd and RabbitMQ. All