public class EmptySubscriptionProvider extends java.lang.Object implements ISubscriptionProvider
Constructor and Description |
---|
EmptySubscriptionProvider() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRawSubscription() |
SubscriptionInformations |
loadSubscriptionInformations() |
void |
removeSubscription(Distribution os) |
void |
updateSubscription(byte[] subscription,
Distribution serverOs) |
void |
updateSubscriptionUrl(Distribution detect,
java.lang.String version) |
public SubscriptionInformations loadSubscriptionInformations() throws ServerFault
loadSubscriptionInformations
in interface ISubscriptionProvider
ServerFault
public void updateSubscription(byte[] subscription, Distribution serverOs) throws ServerFault
updateSubscription
in interface ISubscriptionProvider
ServerFault
- code == ErrorCode.NOT_FOUND if update subscription is not
availablepublic void removeSubscription(Distribution os) throws ServerFault
removeSubscription
in interface ISubscriptionProvider
ServerFault
public byte[] getRawSubscription() throws ServerFault
getRawSubscription
in interface ISubscriptionProvider
ServerFault
public void updateSubscriptionUrl(Distribution detect, java.lang.String version)
updateSubscriptionUrl
in interface ISubscriptionProvider
Copyright © 2021. All Rights Reserved.