public abstract class AbstractInstantMessenger extends Object implements IInstantMessenger
Constructor and Description |
---|
AbstractInstantMessenger(String screenName,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
addMessageListener(IMessageListener messageListener)
Adds a listener to this InstantMessenger.
|
protected void |
fireMessageReceived(String buddyName,
String message) |
String |
getPassword() |
String |
getScreenName()
Returns the screen name of the current user.
|
void |
removeMessageListener(IMessageListener messageListener)
Removes a listener from this InstantMessenger.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBuddy, buddyListLastModified, connect, disconnect, getAwayMessage, getBuddiesInGroupNamed, getGroupNames, getStatusMessage, isBuddyAway, isBuddyOnline, isConnected, removeBuddy, sendMessage
public String getScreenName()
IInstantMessenger
getScreenName
in interface IInstantMessenger
public String getPassword()
public void addMessageListener(IMessageListener messageListener)
IInstantMessenger
addMessageListener
in interface IInstantMessenger
messageListener
- the message listener to addpublic void removeMessageListener(IMessageListener messageListener)
IInstantMessenger
removeMessageListener
in interface IInstantMessenger
messageListener
- the message listener to removeCopyright © 2002 – 2024 Project Wonder.