public class InstantMessengerConnection extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
InstantMessengerConnection.InstantMessageQueue |
protected static class |
InstantMessengerConnection.Message |
Modifier | Constructor and Description |
---|---|
protected |
InstantMessengerConnection() |
|
InstantMessengerConnection(IInstantMessenger instantMessenger) |
|
InstantMessengerConnection(String screenName,
String password,
IInstantMessengerFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
connect(IMessageListener messageListener) |
protected void |
conversationExpired(Conversation conversation) |
Conversation |
conversationForBuddyNamed(String buddyName,
long conversationTimeout) |
List<Conversation> |
conversations() |
void |
disconnect() |
IInstantMessenger |
instantMessenger() |
void |
removeExpiredConversations(long conversationTimeout) |
void |
sendMessage(String buddyName,
String message,
boolean block) |
void |
setWatchDog(IInstantMessenger instantMessenger) |
void |
setWatchDog(String screenName,
String password,
IInstantMessengerFactory watchdogFactory) |
InstantMessengerWatchDog |
watchDog() |
protected InstantMessengerConnection()
public InstantMessengerConnection(String screenName, String password, IInstantMessengerFactory factory)
public InstantMessengerConnection(IInstantMessenger instantMessenger)
public void setWatchDog(String screenName, String password, IInstantMessengerFactory watchdogFactory)
public void setWatchDog(IInstantMessenger instantMessenger)
public IInstantMessenger instantMessenger()
public InstantMessengerWatchDog watchDog()
public List<Conversation> conversations()
public Conversation conversationForBuddyNamed(String buddyName, long conversationTimeout)
public void removeExpiredConversations(long conversationTimeout)
protected void conversationExpired(Conversation conversation)
public void sendMessage(String buddyName, String message, boolean block) throws MessageException
MessageException
public void connect(IMessageListener messageListener)
public void disconnect()
Copyright © 2002 – 2024 Project Wonder.