comparison sat_pubsub/const.py @ 354:18b983fe9e1b

backend: added "presence" access_model: - move presence checking method in separated method so they can be use for get and subscriptions - added VAL_AMODEL_PRESENCE constant
author Goffi <goffi@goffi.org>
date Fri, 08 Sep 2017 08:02:05 +0200
parents efbdca10f0fb
children a92f482ff14f
comparison
equal deleted inserted replaced
353:7c5d85c6fb3a 354:18b983fe9e1b
65 OPT_PERSIST_ITEMS = "pubsub#persist_items" 65 OPT_PERSIST_ITEMS = "pubsub#persist_items"
66 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads" 66 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads"
67 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item" 67 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item"
68 OPT_PUBLISH_MODEL = 'pubsub#publish_model' 68 OPT_PUBLISH_MODEL = 'pubsub#publish_model'
69 VAL_AMODEL_OPEN = 'open' 69 VAL_AMODEL_OPEN = 'open'
70 VAL_AMODEL_PRESENCE = 'presence'
70 VAL_AMODEL_PUBLISHER_ROSTER = 'publisher-roster' 71 VAL_AMODEL_PUBLISHER_ROSTER = 'publisher-roster'
71 VAL_AMODEL_WHITELIST = 'whitelist' 72 VAL_AMODEL_WHITELIST = 'whitelist'
72 VAL_AMODEL_PUBLISH_ONLY = 'publish-only' 73 VAL_AMODEL_PUBLISH_ONLY = 'publish-only'
73 VAL_AMODEL_SELF_PUBLISHER = 'self-publisher' 74 VAL_AMODEL_SELF_PUBLISHER = 'self-publisher'
74 VAL_AMODEL_DEFAULT = VAL_AMODEL_OPEN 75 VAL_AMODEL_DEFAULT = VAL_AMODEL_OPEN