public class AimBotInstantMessenger extends AbstractInstantMessenger
| Modifier and Type | Class and Description |
|---|---|
protected class |
AimBotInstantMessenger.AimBotListener |
static class |
AimBotInstantMessenger.Factory |
| Constructor and Description |
|---|
AimBotInstantMessenger(String screenName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBuddy(String buddyName)
Adds a buddy to the buddy list.
|
long |
buddyListLastModified()
Returns the timestamp of the last buddy list modification.
|
void |
connect()
Connects to the instant messenger service.
|
void |
disconnect()
Disconnects from the instant messenger service.
|
String |
getAwayMessage(String buddyName)
Returns the away message for the given buddy
|
String[] |
getBuddiesInGroupNamed(String groupName)
Returns the names of the buddies in the given group.
|
com.levelonelabs.aim.AIMBuddy |
getBuddy(String buddyName) |
String[] |
getGroupNames()
Returns the names of the buddy list groups.
|
String |
getStatusMessage(String buddyName)
Returns the status message for the given buddy
|
boolean |
isBuddyAway(String buddyName)
Returns whether or not the given buddy is away.
|
boolean |
isBuddyOnline(String buddyName)
Returns whether or not the specified buddy name is online.
|
boolean |
isConnected()
Returns whether or not this messenger is connected.
|
void |
removeBuddy(String buddyName)
Removes a buddy from the buddy list.
|
void |
sendMessage(String buddyName,
String message,
boolean ignoreIfOffline)
Sends a message to the specified buddy.
|
addMessageListener, fireMessageReceived, getPassword, getScreenName, removeMessageListenerpublic long buddyListLastModified()
IInstantMessengerpublic boolean isBuddyOnline(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to check forpublic com.levelonelabs.aim.AIMBuddy getBuddy(String buddyName)
public void addBuddy(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to addpublic void removeBuddy(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to removepublic String[] getGroupNames()
IInstantMessengerpublic String[] getBuddiesInGroupNamed(String groupName)
IInstantMessengergroupName - the name of the group to listpublic void connect()
throws IMConnectionException
IInstantMessengerIMConnectionException - if the connect request failspublic void disconnect()
IInstantMessengerpublic boolean isConnected()
IInstantMessengerpublic String getAwayMessage(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to return the away message forpublic String getStatusMessage(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to return status forpublic boolean isBuddyAway(String buddyName)
IInstantMessengerbuddyName - the name of the buddy to checkpublic void sendMessage(String buddyName, String message, boolean ignoreIfOffline) throws MessageException
IInstantMessengerbuddyName - the name of the buddy to messagemessage - the message to sendignoreIfOffline - should the message be ignored if the user is offline (false = throw an exception)MessageExceptionCopyright © 2002 – 2020 Project Wonder.