Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.18 KB

09.02.02.md

File metadata and controls

27 lines (20 loc) · 1.18 KB

9.2.2 拉取消息(Pull Messages)

设备应提供以下所有由CreatePullPointSubscription命令返回的SubscriptionManager端点的PullMessages命令。

该命令应至少支持超时一分钟。如果设备支持检索比要求较少的消息,它应该返回这些而不产生故障

设备应将当前时间和终止时间这两个参数作为UTC都使用“Z”指示器作为回应。

表95: PullMessages命令

消息名称 描述
PullMessagesRequest 此消息应向SubscriptionManager拉取通知
				xs:duration Timeout[1][1]<br/>
				xs:int MessageLimit[1][1]

PullMessagesResponse|响应包含了一系列的通知,连同更新SubscriptionManager的TerminationTime
xs:dateTime CurrentTime[1][1]
xs:dateTime TerminationTime[1][1]
wsnt:NotificationMessageHolderType NotificationMessage[0][unbounded] PullMessagesFaultResponse|超出设备所支持的超时上限值时,故障信息应包含两个参数的上限值。
xs:duration MaxTimeout[1][1]
xs:int MaxMessageLimit[1][1]

故障代码|描述 |没有具体的故障代码。

上一章|继续阅读