com.aelitis.azureus.core.messenger
Class PlatformMessenger

java.lang.Object
  extended by com.aelitis.azureus.core.messenger.PlatformMessenger

public class PlatformMessenger
extends Object

Author:
TuxPaper

Field Summary
static String REPLY_ACTION
           
static String REPLY_EXCEPTION
           
static String REPLY_RESULT
           
 
Constructor Summary
PlatformMessenger()
           
 
Method Summary
static void addExtraParam(String key, Object value)
           
static void debug(String string)
           
protected static void debug(String string, Throwable e)
           
static boolean getAllowMulti()
           
static ClientMessageContext getClientMessageContext()
           
static void init()
           
protected static void processQueue(String queueID, Map mapQueue)
           
protected static void processQueueAsync(String sURL, String sData, Map mapProcessing, boolean forceProxy)
           
static void pushMessageNow(PlatformMessage message, PlatformMessengerListener listener)
          Sends the message almost immediately, skipping delayauthorization check
static void queueMessage(PlatformMessage message, PlatformMessengerListener listener)
           
static void queueMessage(PlatformMessage message, PlatformMessengerListener listener, boolean addToBottom)
           
static void setAllowMulti(boolean allowMulti)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPLY_EXCEPTION

public static String REPLY_EXCEPTION

REPLY_ACTION

public static String REPLY_ACTION

REPLY_RESULT

public static String REPLY_RESULT
Constructor Detail

PlatformMessenger

public PlatformMessenger()
Method Detail

init

public static void init()

getClientMessageContext

public static ClientMessageContext getClientMessageContext()

queueMessage

public static void queueMessage(PlatformMessage message,
                                PlatformMessengerListener listener)

queueMessage

public static void queueMessage(PlatformMessage message,
                                PlatformMessengerListener listener,
                                boolean addToBottom)

debug

public static void debug(String string)
Parameters:
string -

debug

protected static void debug(String string,
                            Throwable e)

pushMessageNow

public static void pushMessageNow(PlatformMessage message,
                                  PlatformMessengerListener listener)
Sends the message almost immediately, skipping delayauthorization check

Parameters:
message -
listener -
Since:
3.0.5.3

processQueue

protected static void processQueue(String queueID,
                                   Map mapQueue)
Parameters:
requiresAuthorization -

processQueueAsync

protected static void processQueueAsync(String sURL,
                                        String sData,
                                        Map mapProcessing,
                                        boolean forceProxy)
                                 throws Throwable
Parameters:
mapProcessing -
surl -
Throws:
Exception
Throwable

setAllowMulti

public static void setAllowMulti(boolean allowMulti)

getAllowMulti

public static boolean getAllowMulti()

addExtraParam

public static void addExtraParam(String key,
                                 Object value)