10 2014 档案

AndroidPn(Android Push Notification)源代码分析(3)---Hibernate
摘要:基于Hibernate的实现,主要实现用户在数据库中的查询,保存,删除。UserDao接口:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and... 阅读全文

posted @ 2014-10-01 00:37 enjoyeclipse 阅读(274) 评论(0) 推荐(0)

AndroidPn(Android Push Notification)源代码分析(4)- Model
摘要:主要就是UserTable的代码:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the ter... 阅读全文

posted @ 2014-10-01 00:37 enjoyeclipse 阅读(158) 评论(0) 推荐(0)

AndroidPn(Android Push Notification)源代码分析(5)- Util
摘要:1.配置文件,读取config.xml/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the t... 阅读全文

posted @ 2014-10-01 00:37 enjoyeclipse 阅读(147) 评论(0) 推荐(0)

androidpn(Android Push Notification)源代码分析(6)- XmppServer
摘要:1.服务器单例设计一个比较Nice的地方,注意Xmpp构造函数抛出的异常/** * Returns the singleton instance of XmppServer. * * @return the server instance. */ public ... 阅读全文

posted @ 2014-10-01 00:37 enjoyeclipse 阅读(227) 评论(0) 推荐(0)

Androidpn(Android Push Notification)源代码分析(1)
摘要:1.Starter 类似一个Web容器的实现/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under th... 阅读全文

posted @ 2014-10-01 00:36 enjoyeclipse 阅读(300) 评论(0) 推荐(0)

Androidpn(Android Push Notification)源代码分析(2)续--Openfire,Dom4j,AdminConsole
摘要:jivesoftware, androidpn基于openfire实现。dom4j是解析XMPP协议。Jetty 是一个开源的servlet容器,它为基于Java的web内容,例如JSP和servlet提供运行环境。Jetty是使用Java语言编写的,它的API以一组JAR包的形式发布。开发人员可以... 阅读全文

posted @ 2014-10-01 00:36 enjoyeclipse 阅读(348) 评论(0) 推荐(0)

Androidpn(Android Push Notification)源代码分析(1)续--
摘要:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen... 阅读全文

posted @ 2014-10-01 00:36 enjoyeclipse 阅读(109) 评论(0) 推荐(0)

androidpn(Android Push Notification)源代码分析(7)- 验证AuthManager和AuthToken
摘要:AuthManager* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of t... 阅读全文

posted @ 2014-10-01 00:35 enjoyeclipse 阅读(385) 评论(0) 推荐(0)

androidpn(Android Push Notification)源代码分析(8)- Codec(编解码)
摘要:1.XmppCodecFactory:负责创建Encoder和Decoder/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modi... 阅读全文

posted @ 2014-10-01 00:35 enjoyeclipse 阅读(274) 评论(0) 推荐(0)