com.aelitis.azureus.core.messenger.config
Class PlatformSubscriptionsMessenger
java.lang.Object
com.aelitis.azureus.core.messenger.config.PlatformSubscriptionsMessenger
public class PlatformSubscriptionsMessenger
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformSubscriptionsMessenger
public PlatformSubscriptionsMessenger()
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)
throws PlatformMessengerException
- Throws:
PlatformMessengerException
getPopularityBySID
public static long getPopularityBySID(byte[] sid)
throws PlatformMessengerException
- Throws:
PlatformMessengerException
setSelected
public static List[] setSelected(List sids)
throws PlatformMessengerException
- Throws:
PlatformMessengerException
checkEnabled
protected static void checkEnabled(String method)
throws PlatformMessengerException
- Throws:
PlatformMessengerException
main
public static void main(String[] args)