1
我嘗試在我的mobilefirst 6.3 studio上運行下一個簡單的代碼示例,但它不起作用。它什麼都不做。 我錯過了什麼?MobileFirst推送通知 - 民意調查不起作用
WL.Server.createEventSource({
name: 'PushEventSource1',
poll: {
interval: 3,
onPoll: "test1"
}
});
function test1() {
WL.Logger.info(new Date() + ": test!");
}
我成功部署:
[2015-02-09 10:23:02] Starting adapter deployment on MobileFirst Server
[2015-02-09 10:23:02] Starting build of adapter: PushAdapter
[2015-02-09 10:23:02] Deploying adapter: PushAdapter
[2015-02-09 10:23:02] Server host: 10.0.0.177
[2015-02-09 10:23:02] Server port: 10080
[2015-02-09 10:23:03] Adapter build and deploy finished.
當你說'不起作用'時,我假設你的意思是輪詢功能沒有被調用?你確定你已經成功部署了適配器嗎?你如何部署它? – 2015-02-09 08:07:34