国产精品白浆,久久免费视频黄站,国产成人高清亚洲一区app
http://www.dpkxx.com/docs/
2025-05-10T05:12:59+08:00
Cobub文檔中心
http://www.dpkxx.com/docs/
http://www.dpkxx.com/docs/lib/tpl/dokuwiki/images/favicon.ico
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster android開發(fā)者指南 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:android-developer-guide?rev=1500002295&do=diff
Android開發(fā)者指南
版本支持
* 兼容Android2.2以上(API 8以上)
* SDK版本v1.0
集成步驟
修改AndroidManifest.xml
添加權(quán)限
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 申請(qǐng)?jiān)囉?- 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:apply-for-a-trial?rev=1500002295&do=diff
申請(qǐng)?jiān)囉?
您可以通過(guò)如下的方式申請(qǐng)?jiān)囉?,?qǐng)注意,所有的試用都是永久免費(fèi)的。
1. 注冊(cè)Cobub用戶中心賬號(hào),請(qǐng)點(diǎn)擊這里注冊(cè)。
2. 填寫如下表格,并且發(fā)郵件至 support [AT] cobub.com
公司名字 聯(lián)系人 郵箱 電話
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 服務(wù)器安裝指南 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:installation-guide-of-pns?rev=1500002295&do=diff
推送服務(wù)器安裝指南
linux 內(nèi)核參數(shù)設(shè)置(做測(cè)試不需要設(shè)置, 只在正式環(huán)境中設(shè)置)
修改/etc/sysctl.conf, 加入以下幾行:
fs.file-max = 600000
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.ip_local_port_range = 1024 61000
net.ipv4.tcp_rmem = 512 32768 262142
net.ipv4.tcp_wmem = 1024 32768 262142
net.core.netdev_max_backlog = 8096
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 2097152
net.core.wmem_max = 2097152
net.ipv4.tcp_syncookies = 1…
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 軟件使用許可 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:license?rev=1500002295&do=diff
軟件使用許可
Cobub Toaster的SDK及相關(guān)產(chǎn)品(DEMO、樣例代碼、文檔說(shuō)明等)是基于自由軟件聯(lián)盟的許可協(xié)議的軟件產(chǎn)品。
對(duì)于Cobub Toaster SDK及相關(guān)產(chǎn)品采用 GPL v3 的許可協(xié)議。
Cobub Toaster SDK的軟件包中都包含一份對(duì)應(yīng)的軟件許可協(xié)議。你也可以閱讀如下的許可協(xié)議全文。
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 系統(tǒng)概覽 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:overview-of-cobub-toaster?rev=1500002295&do=diff
Cobub Toaster 概覽
本文檔提供了Cobub Toaster的系統(tǒng)概覽
一、系統(tǒng)架構(gòu)
二、推送服務(wù)器功能
Cobub Toaster的推送服務(wù)器由Go語(yǔ)言實(shí)現(xiàn),之所以選擇Go是因?yàn)镚o是一個(gè)完全的可編譯語(yǔ)言,并且針對(duì)并行計(jì)算進(jìn)行了非常好的優(yōu)化。欲了解更多的關(guān)于Go語(yǔ)言的信息,請(qǐng)前往
-
text/html
2017-07-14T11:18:15+08:00
toaster:release-note
http://www.dpkxx.com/docs/toaster:release-note?rev=1500002295&do=diff
Release Note
V 0.2.3, 2014年7月9日
初始化版本
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster WEB接口調(diào)用樣例代碼 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:sample-code-of-web-interface-of-pns?rev=1500002295&do=diff
推送服務(wù)器WEB接口調(diào)用樣例代碼
您可以在這里找到推送服務(wù)器Web接口調(diào)用的樣例代碼
Cobub @ github
您可以在github of Cobub找到更多相關(guān)代碼。
PHP樣例
if(isset($_POST["serverurl"]) && isset($_POST["data"])
&& isset($_POST["appid"]) && isset($_POST["channel"]) && isset($_POST["expired"]))
{
$serverUrl = $_POST["serverurl"]; //Get Server URL, configured in the Cobub Toaster configure file
$data = $_POST["data"]; //Push content
$appid = $_POST["appid"]; // APP ID
$channel = $_POST["channel"]; // Which channel to push
$expired = $_POST["expired…
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 性能測(cè)試報(bào)告 - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:stress-test-report?rev=1500002295&do=diff
性能測(cè)試報(bào)告
1. 測(cè)試環(huán)境如下表所描述:
操作系統(tǒng) CentOS-6.4-64bitCPU Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz * 12RAM 32 GiBKernel 2.6.32-358.el6.x86_64
2. 按照推送服務(wù)器安裝指南文檔的說(shuō)明,安裝并配置 Cobub Toaster。
3. 切換到安裝目錄下,假設(shè)是/opt/toaster,啟動(dòng)Cobub Toaster:
-
text/html
2017-07-14T11:18:15+08:00
Cobub Toaster 推送服務(wù)器手冊(cè) - 開源移動(dòng)應(yīng)用運(yùn)營(yíng)平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心
http://www.dpkxx.com/docs/toaster:user-menu-of-pns?rev=1500002295&do=diff
推送服務(wù)器手冊(cè)
本文檔介紹了推送服務(wù)器的Web接口的使用方法。
首先區(qū)分一下user channel和tag channel的概念:
user channel是以客戶端唯一的uid作為channel的名稱,客戶端連接上來(lái)自動(dòng)sub(sub表示加入channel)
tag channel 是客戶端主動(dòng)通過(guò)sub命令加入的通道,比如客戶端sub “l(fā)ocation:beijing”,那么它就加入了”location:beijing”的通道,對(duì)”location:beijing”下發(fā)消息, 該客戶端就會(huì)收到消息, 可以把tag channel想象成標(biāo)簽推送…