Public Member Functions | |
| void | addBuddy (String buddyName) throws InstantMessengerException |
| void | addMessageListener (IMessageListener messageListener) |
| long | buddyListLastModified () |
| void | connect () throws IMConnectionException |
| void | disconnect () |
| String | getAwayMessage (String buddyName) throws InstantMessengerException |
| String[] | getBuddiesInGroupNamed (String groupName) throws InstantMessengerException |
| String[] | getGroupNames () throws InstantMessengerException |
| String | getScreenName () |
| String | getStatusMessage (String buddyName) throws InstantMessengerException |
| boolean | isBuddyAway (String buddyName) throws InstantMessengerException |
| boolean | isBuddyOnline (String buddyName) throws InstantMessengerException |
| boolean | isConnected () |
| void | removeBuddy (String buddyName) throws InstantMessengerException |
| void | removeMessageListener (IMessageListener messageListener) |
| void | sendMessage (String buddyName, String message, boolean ignoreIfOffline) throws MessageException |
| void addBuddy | ( | String | buddyName | ) | throws InstantMessengerException |
Adds a buddy to the buddy list.
| buddyName | the name of the buddy to add |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| void addMessageListener | ( | IMessageListener | messageListener | ) |
Adds a listener to this InstantMessenger.
| messageListener | the message listener to add |
Implemented in AbstractInstantMessenger.
| long buddyListLastModified | ( | ) |
Returns the timestamp of the last buddy list modification.
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| void connect | ( | ) | throws IMConnectionException |
Connects to the instant messenger service.
| IMConnectionException | if the connect request fails |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| void disconnect | ( | ) |
Disconnects from the instant messenger service.
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| String getAwayMessage | ( | String | buddyName | ) | throws InstantMessengerException |
Returns the away message for the given buddy
| buddyName | the name of the buddy to return the away message for |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| String [] getBuddiesInGroupNamed | ( | String | groupName | ) | throws InstantMessengerException |
Returns the names of the buddies in the given group.
| groupName | the name of the group to list |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| String [] getGroupNames | ( | ) | throws InstantMessengerException |
Returns the names of the buddy list groups.
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| String getScreenName | ( | ) |
Returns the screen name of the current user.
Implemented in AbstractInstantMessenger.
| String getStatusMessage | ( | String | buddyName | ) | throws InstantMessengerException |
Returns the status message for the given buddy
| buddyName | the name of the buddy to return status for |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| boolean isBuddyAway | ( | String | buddyName | ) | throws InstantMessengerException |
Returns whether or not the given buddy is away.
| buddyName | the name of the buddy to check |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| boolean isBuddyOnline | ( | String | buddyName | ) | throws InstantMessengerException |
Returns whether or not the specified buddy name is online.
| buddyName | the name of the buddy to check for |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| boolean isConnected | ( | ) |
Returns whether or not this messenger is connected.
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| void removeBuddy | ( | String | buddyName | ) | throws InstantMessengerException |
Removes a buddy from the buddy list.
| buddyName | the name of the buddy to remove |
| InstantMessengerException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
| void removeMessageListener | ( | IMessageListener | messageListener | ) |
Removes a listener from this InstantMessenger.
| messageListener | the message listener to remove |
Implemented in AbstractInstantMessenger.
| void sendMessage | ( | String | buddyName, | |
| String | message, | |||
| boolean | ignoreIfOffline | |||
| ) | throws MessageException |
Sends a message to the specified buddy.
| buddyName | the name of the buddy to message | |
| message | the message to send | |
| ignoreIfOffline | should the message be ignored if the user is offline (false = throw an exception) |
| MessageException |
Implemented in AimBotInstantMessenger, DaimInstantMessenger, and JOscarInstantMessenger.
1.5.8