com.aelitis.azureus.core.messenger.config
Class PlatformSubscriptionsMessenger

java.lang.Object
  extended by com.aelitis.azureus.core.messenger.config.PlatformSubscriptionsMessenger

public class PlatformSubscriptionsMessenger
extends Object


Nested Class Summary
static class PlatformSubscriptionsMessenger.subscriptionDetails
           
static class PlatformSubscriptionsMessenger.subscriptionInfo
           
 
Constructor Summary
PlatformSubscriptionsMessenger()
           
 
Method Summary
protected static void checkEnabled(String method)
           
static long getPopularityBySID(byte[] sid)
           
static PlatformSubscriptionsMessenger.subscriptionDetails getSubscriptionBySID(byte[] sid)
           
static void main(String[] args)
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformSubscriptionsMessenger

public PlatformSubscriptionsMessenger()
Method Detail

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)