public class InstantMessengerAdaptor extends com.webobjects.appserver.WOAdaptor implements IMessageListener
Modifier and Type | Class and Description |
---|---|
protected class |
InstantMessengerAdaptor.ConversationExpirationRunnable |
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_LOGIN_KEY |
static String |
BUDDY_NAME_KEY |
static String |
CENTRALIZE_SCREEN_NAME_KEY |
static String |
CONVERSATION_ACTION_NAME_KEY |
static String |
CONVERSATION_KEY |
static String |
CONVERSATION_TIMEOUT_KEY |
static String |
IM_ACTION_URL_KEY |
static String |
IM_FACTORY_KEY |
static String |
IS_IM_KEY |
static Logger |
log |
static String |
MESSAGE_KEY |
static String |
PASSWORD_KEY |
static String |
RAW_MESSAGE_KEY |
static String |
SCREEN_NAME_KEY |
static String |
WATCHER_ENABLED_KEY |
static String |
WATCHER_IM_FACTORY_KEY |
static String |
WATCHER_PASSWORD_KEY |
static String |
WATCHER_SCREEN_NAME_KEY |
Constructor and Description |
---|
InstantMessengerAdaptor(String name,
NSDictionary parameters) |
public static Logger log
public static final String IM_FACTORY_KEY
public static final String SCREEN_NAME_KEY
public static final String PASSWORD_KEY
public static final String CONVERSATION_TIMEOUT_KEY
public static final String CONVERSATION_ACTION_NAME_KEY
public static final String IM_ACTION_URL_KEY
public static final String AUTO_LOGIN_KEY
public static final String WATCHER_ENABLED_KEY
public static final String WATCHER_IM_FACTORY_KEY
public static final String WATCHER_SCREEN_NAME_KEY
public static final String WATCHER_PASSWORD_KEY
public static final String CENTRALIZE_SCREEN_NAME_KEY
public static final String IS_IM_KEY
public static final String CONVERSATION_KEY
public static final String BUDDY_NAME_KEY
public static final String MESSAGE_KEY
public static final String RAW_MESSAGE_KEY
public InstantMessengerAdaptor(String name, NSDictionary parameters)
public static InstantMessengerAdaptor instantMessengerAdaptor()
public InstantMessengerConnection setDefaultInstantMessenger(String screenName, String password)
public InstantMessengerConnection addInstantMessenger(String screenName, String password)
public InstantMessengerConnection _addInstantMessenger(String screenName, String password)
public void _removeInstantMessengerConnection(InstantMessengerConnection connection)
public void removeInstantMessenger(String screenName)
public IInstantMessenger instantMessengerForScreenName(String screenName)
public IInstantMessenger defaultInstantMessenger()
public static boolean isIMRequest(com.webobjects.appserver.WOContext context)
public static boolean isIMRequest(com.webobjects.appserver.WORequest request)
public static String message(com.webobjects.appserver.WORequest request)
public static String rawMessage(com.webobjects.appserver.WORequest request)
public static String buddyName(com.webobjects.appserver.WORequest request)
public static Conversation conversation(com.webobjects.appserver.WORequest request)
public void registerForEvents()
registerForEvents
in class com.webobjects.appserver.WOAdaptor
public void unregisterForEvents()
unregisterForEvents
in class com.webobjects.appserver.WOAdaptor
public boolean dispatchesRequestsConcurrently()
dispatchesRequestsConcurrently
in class com.webobjects.appserver.WOAdaptor
public void messageReceived(IInstantMessenger instantMessenger, String buddyName, String rawMessage)
messageReceived
in interface IMessageListener
public void sessionDidCreate(com.webobjects.foundation.NSNotification notification)
public void sendMessage(String screenName, String buddyName, String message, boolean block) throws MessageException
MessageException
public InstantMessengerConnection _instantMessengerConnectionNamed(String screenName)
public InstantMessengerConnection _defaultInstantMessengerConnection()
protected IInstantMessengerFactory getFactory(String key)
protected void removeExpiredConversations()
Copyright © 2002 – 2020 Project Wonder.