Adding MQTT pagination details

revert-70aa11f8
Supun94 7 years ago
parent 8ca85f1177
commit df06953069

@ -1,3 +1,4 @@
/* /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
* *

@ -32,6 +32,7 @@ public class PaginationConfiguration {
private int operationListPageSize; private int operationListPageSize;
private int notificationListPageSize; private int notificationListPageSize;
private int activityListPageSize; private int activityListPageSize;
private int topicListPageSize;
public int getDeviceListPageSize() { public int getDeviceListPageSize() {
return deviceListPageSize; return deviceListPageSize;
@ -78,4 +79,14 @@ public class PaginationConfiguration {
this.activityListPageSize = activityListPageSize; this.activityListPageSize = activityListPageSize;
} }
public int getTopicListPageSize() {
return deviceListPageSize;
}
@XmlElement(name = "TopicListPageSize", required = true)
public void setTopicListPageSize(int topicListPageSize) {
this.topicListPageSize = topicListPageSize;
}
} }

@ -65,6 +65,7 @@
<NotificationListPageSize>20</NotificationListPageSize> <NotificationListPageSize>20</NotificationListPageSize>
<ActivityListPageSize>20</ActivityListPageSize> <ActivityListPageSize>20</ActivityListPageSize>
<OperationListPageSize>20</OperationListPageSize> <OperationListPageSize>20</OperationListPageSize>
<TopicListPageSize>20</TopicListPageSize>
</PaginationConfiguration> </PaginationConfiguration>
<!--This specifies whether to enable the DeviceStatus Task in this node. In clustered setup only master node <!--This specifies whether to enable the DeviceStatus Task in this node. In clustered setup only master node
should have to run this task.--> should have to run this task.-->

Loading…
Cancel
Save