def _init_offline_request_exceptions(self): self._offline_request_queue_disabled_exceptions = { RequestTypes.PUBLISH: publishQueueDisabledException(), RequestTypes.SUBSCRIBE: subscribeQueueDisabledException(), RequestTypes.UNSUBSCRIBE: unsubscribeQueueDisabledException() } self._offline_request_queue_full_exceptions = { RequestTypes.PUBLISH: publishQueueFullException(), RequestTypes.SUBSCRIBE: subscribeQueueFullException(), RequestTypes.UNSUBSCRIBE: unsubscribeQueueFullException() }
def _init_offline_request_exceptions(self): self._offline_request_queue_disabled_exceptions = { RequestTypes.PUBLISH : publishQueueDisabledException(), RequestTypes.SUBSCRIBE : subscribeQueueDisabledException(), RequestTypes.UNSUBSCRIBE : unsubscribeQueueDisabledException() } self._offline_request_queue_full_exceptions = { RequestTypes.PUBLISH : publishQueueFullException(), RequestTypes.SUBSCRIBE : subscribeQueueFullException(), RequestTypes.UNSUBSCRIBE : unsubscribeQueueFullException() }