Class PlatformSubscriptionsMessenger
java.lang.Object
com.biglybt.core.messenger.config.PlatformSubscriptionsMessenger
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidcheckEnabled(String method) static longgetPopularityBySID(byte[] sid) getSubscriptionBySID(byte[] sid, boolean is_anon) static voidstatic List[]setSelected(List sids) static voidupdateSubscription(boolean create, String name, byte[] public_key, byte[] private_key, byte[] sid, int version, boolean is_anon, String content)
-
Field Details
-
MESSAGING_ENABLED
private static final boolean MESSAGING_ENABLED- See Also:
-
dispatcher
-
OP_CREATE_SUBS
- See Also:
-
OP_UPDATE_SUBS
- See Also:
-
OP_GET_SUBS_BY_SID
- See Also:
-
OP_GET_POP_BY_SID
- See Also:
-
OP_SET_SELECTED
- See Also:
-
-
Constructor Details
-
PlatformSubscriptionsMessenger
public PlatformSubscriptionsMessenger()
-
-
Method Details
-
updateSubscription
public static void updateSubscription(boolean create, String name, byte[] public_key, byte[] private_key, byte[] sid, int version, boolean is_anon, String content) throws PlatformMessengerException - Throws:
PlatformMessengerException
-
getSubscriptionBySID
public static PlatformSubscriptionsMessenger.subscriptionDetails getSubscriptionBySID(byte[] sid, boolean is_anon) throws PlatformMessengerException - Throws:
PlatformMessengerException
-
getPopularityBySID
- Throws:
PlatformMessengerException
-
setSelected
- Throws:
PlatformMessengerException
-
checkEnabled
- Throws:
PlatformMessengerException
-
main
-