Class PlatformSubscriptionsMessenger
java.lang.Object
com.biglybt.core.messenger.config.PlatformSubscriptionsMessenger
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
checkEnabled
(String method) static long
getPopularityBySID
(byte[] sid) getSubscriptionBySID
(byte[] sid, boolean is_anon) static void
static List[]
setSelected
(List sids) static void
updateSubscription
(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
-