openfire
steely_chen
这个作者很懒,什么都没留下…
展开
-
利用 smack api 创建openfire 会议室
//根据connection 创建一个MultiUserChat对象 MultiUserChat muc = new MultiUserChat(connection, "[email protected]"); //创建会议 muc.create("anyvalue"); 获取会议室配置表单 Form form = muc.getConfigurationForm();原创 2014-03-24 17:49:01 · 1179 阅读 · 0 评论 -
Smack+Openfire 文件接收与发送
发送文件需要提供准确的接收放用户名称(例:[email protected])、本地文件全路径(例:E:\\xxx\\xxx.zip) 接收文件必须声明一个文件监听器用于监听有可能发送过来的文件。 客户端发送文件代码片断 public void sendFire(XMPPConnection conn,String toUser,String filePath)throws XMPPEx原创 2014-07-19 12:15:59 · 5422 阅读 · 0 评论