특정 orion 엔티티 유형에 대한 구독을 수행하는 연산자가 있습니다. 그러나 나는 관련 필드 (제한)를 사용하여 구독 개체를 푸시하지만 데이터는 여전히 20 개 요소로 페이지가 매겨집니다 (나는 그것을 늘리고 싶습니다). 페이지 매김 (제한) 옵션은 쿼리 작업에만 유효합니까 아니면 구독에도 사용할 수 있습니까?구독에서 페이지 매기기
var subscribe = function subscribe() {
this.connection = new NGSI.Connection(this.ngsi_server, {
ngsi_proxy_url: this.ngsi_proxy
});
var attributeList = null;
var duration = this.subscriptionUpdateRate;
var throttling = null;
var notifyConditions = [{
'type': 'ONCHANGE',
'condValues': this.condValues
}];
var options = {
flat: true,
limit: 999,
onNotify: function(data) {
handlerReceiveEntity(data);
},
onSuccess: function(data) {
....
window.addEventListener("beforeunload", function() {
this.connection.cancelSubscription(this.subscriptionID);
}.bind(this));
}.bind(this)
};
this.connection.createSubscription([this.entities], attributeList, duration, throttling, notifyConditions, options);
};
함수가 처음 호출 될 때 그래도, 내가 대신 ~ 40의 20 개체를 얻고있다 :
여기 내 코드입니다. 어떤 생각이 잘못된 것일까 요?
오리온 버전은 0.14.0입니다.
Orion Context Broker의 버전 또는 인스턴스를 사용하고 있습니까? 이것이 Orion Context Broker의 버그 나 새로운 기능과 관련이 있는지를 탐지하는 데 매우 유용하다고 생각합니다. 감사합니다 :) –
방금 반영하기 위해 주요 질문 텍스트를 업데이 트했습니다. :-) – Artem