Get desktop application:
View/edit binary Protocol Buffers messages
Subscription Service Interface definition
Fetch a list of subscribers that are currently subscribed to a given topic.
Passed to FetchSubscribers such that we can obtain a list of subscribers to a particular topic
Topic we wish to find the subscribers for
Returned from FetchSubscribers(), this message contains a repeated list of SubscriberInfo
List of subscribers
Fetch a list of subscriptions
Topic to register/unregister to receive subscription change notifications
Subscribers's information
Results from FetchSubscriptions() API
Repeated list of subscriptions for a subscriber
Register to receive subscription change notifications that are published on the 'up:/core.usubscription/3/subscriptions#Update'
Reset subscriptions to and from the uSubscription Service. This API is used between uSubscription services in order to flush and reestablish subscriptions between devices. A uSubscription service might ned to call this API if its database is flushed or corrupted (ex. factory reset). **__NOTE:__** This is a private API only for uSubscription services, uEntities can call Unsubscribe() to flush their own subscriptions.
Reset Subscriptions Request. Passed in the Reset() API this message contains the reason for the reset as well as the time before which all subscriptions should be reset.
Reason for the reset
The (empty) response message representing the successful execution of the Reset operation.
(message has no fields)
A consumer (application) calls this API to subscribe to a topic. What is passed is the SubscriptionRequest message containing the topic, the subscriber's name, and any Subscription Attributes. This API returns a SubscriptionResponse message containing the status of the request along with any event delivery configuration required to consume the event. Calling this API also registers the subscriber to received subscription change notifications if ever the subscription state changes.
Passed to Subscribe() contains the subscription request information
uProtocol uri topic to subscribe too
Additional subscription attributes
Response message from the Subscribe() API
Current status of the subscription
Any platform (uDevice) specific additional event delivered configuration information for how the subscriber should consume the published events.
Subscription topic passed to SubscriptionRequest
Unregister for subscription change events
The consumer no longer wishes to subscribe to a topic so it issues an explicit unsubscribe request.
Passed to the Unsubscribe() API, the message contains the topic to unsubscribe to as well as the subscriber identification
Topic to be unsubscribed to
The (empty) response message representing the successful execution of the Unsubscribe operation.
(message has no fields)
How events will be delivered to the subscriber. Usage of this structure is device-dependent
Used in: ,
Identifier for the event delivery endpoint, ex. topic name for events to be published to example for Azure uCloud: "SUBSCRIPTION_TOPIC"
What type of endpoint shall be used to deliver the events for said subscription example for Azure uCloud: "Microsoft.EventHub/Namespaces/EventHubs"
Any additional configuration attributes
Passed to the RegisterForSubscriptionChanges() and UnregisterForSubscriptionChanges() APIs this message includes the topic to register for subscription changes as well as information about the subscriber who wishes to receive said notifications
Used as request type in: uSubscription.RegisterForNotifications, uSubscription.UnregisterForNotifications
Topic to register/unregister to receive subscription change notifications
The (empty) response message representing the successful execution of the RegisterForSubscriptionChanges and UnregisterForSubscriptionChanges operations.
Used as response type in: uSubscription.RegisterForNotifications, uSubscription.UnregisterForNotifications
(message has no fields)
Passive Subscription Mode. Passive subscriptions, in lieu of active ones, do not modify (the state) nor notify the publisher of the subscribers subscription. Passive subscriptions are a means to support observability frameworks to passively listen for events. *NOTE*: This attribute is an internal platform setting (for now) and not exposed as part of SubscribeAttributes.
Enable passive subscription mode
The reason for triggering a reset, this is an optional attribute used to provide insight as to why a reset occurred More reasons will be added as we distill the business logic
Used in:
Reason code
Reason message
Reason code
Used in:
Default non-specified reason for issuing a reset
Factory reset
Corrupted data
Additional subscription configurations information
Used in: , ,
When the subscription should expire (time in the future. **__NOTE:__** If this field is missing, assumed to live forever
Any additional producer specific information that the consumer must send inside of a subscription request
Desired Sampling Period (measured in milliseconds) the subscriber wishes to receive events for remote only topics. Device dispatchers (i.e. streamers) use this attribute to reduce the publication rates of events sent between devices. This attribute is commonly used for mobile/cloud subscribing to vehicle topics that are published at a high rate.<br> If the desired sampling period set by the subscriber is lower than the original publisher's publication period, the attribute is ignored.<br> **__NOTE:__** If this attribute is missing, the sampling period is set by the publisher.
Subscriber Identification Information
Used in: , , ,
subscriber URI containig the names and numbers of the uEntities subscribing. Example represented in long form: `//device.domain/com.gm.app.hartley`
Subscription Message. Contains all the information about a subscription that is returned from FetchSubscriptions() API.
Used in:
Subscription topic
Information about the subscriber who changed their subscription
Current status of the subscription
Subscribers subscription attributes
Any platform (uDevice) specific additional event delivered configuration information for how the subscriber should consume the published events.
Subscription Status
Used in: , ,
Subscription state
The Subscription status message
Used in:
Default state to indicate not subscribed
Subscription is pending confirmation from remote
Subscription has been successful
Unsubscribe is pending confirmation from the
Subscription Update Message. This Update message is sent from uSusbcription on the topic: '/core.usubscription/3/subscriptions#Update' whenever there is a change to a subscription. Subscribers automatically receive this notification along with any uEntities that called RegisterForNotifications().
Subscribed topic whos state has changed
Information about the subscriber who changed their subscription
Current status of the subscription
Subscribers subscription attributes
Service meta-data option definitions - Resources