
Classes | |
| class | DaimOscarClient |
| class | Factory |
Public Member Functions | |
| void | addBuddy (String buddyName) throws InstantMessengerException |
| long | buddyListLastModified () |
| void | connect () throws IMConnectionException |
| DaimInstantMessenger (String screenName, String password) | |
| void | disconnect () |
| String | getAwayMessage (String buddyName) |
| String[] | getBuddiesInGroupNamed (String groupName) |
| String[] | getGroupNames () |
| String | getStatusMessage (String buddyName) |
| boolean | isBuddyAway (String buddyName) |
| boolean | isBuddyOnline (String buddyName) |
| boolean | isConnected () |
| void | removeBuddy (String buddyName) throws InstantMessengerException |
| void | sendMessage (String buddyName, String message, boolean ignoreIfOffline) throws MessageException |
Private Attributes | |
| boolean | _connected |
| long | _lastConnectionAttempt |
| DaimOscarClient | _oscarClient |
| DaimInstantMessenger | ( | String | screenName, | |
| String | password | |||
| ) |
| void addBuddy | ( | String | buddyName | ) | throws InstantMessengerException |
Adds a buddy to the buddy list.
| buddyName | the name of the buddy to add |
| InstantMessengerException |
Implements IInstantMessenger.
| long buddyListLastModified | ( | ) |
Returns the timestamp of the last buddy list modification.
Implements IInstantMessenger.
| void connect | ( | ) | throws IMConnectionException |
Connects to the instant messenger service.
| IMConnectionException | if the connect request fails |
Implements IInstantMessenger.
| void disconnect | ( | ) |
Disconnects from the instant messenger service.
Implements IInstantMessenger.
Returns the away message for the given buddy
| buddyName | the name of the buddy to return the away message for |
| InstantMessengerException |
Implements IInstantMessenger.
Returns the names of the buddies in the given group.
| groupName | the name of the group to list |
| InstantMessengerException |
Implements IInstantMessenger.
| String [] getGroupNames | ( | ) |
Returns the names of the buddy list groups.
| InstantMessengerException |
Implements IInstantMessenger.
Returns the status message for the given buddy
| buddyName | the name of the buddy to return status for |
| InstantMessengerException |
Implements IInstantMessenger.
| boolean isBuddyAway | ( | String | buddyName | ) |
Returns whether or not the given buddy is away.
| buddyName | the name of the buddy to check |
Implements IInstantMessenger.
| boolean isBuddyOnline | ( | String | buddyName | ) |
Returns whether or not the specified buddy name is online.
| buddyName | the name of the buddy to check for |
| InstantMessengerException |
Implements IInstantMessenger.
| boolean isConnected | ( | ) |
Returns whether or not this messenger is connected.
Implements IInstantMessenger.
| void removeBuddy | ( | String | buddyName | ) | throws InstantMessengerException |
Removes a buddy from the buddy list.
| buddyName | the name of the buddy to remove |
| InstantMessengerException |
Implements IInstantMessenger.
| 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 |
Implements IInstantMessenger.
boolean _connected [private] |
long _lastConnectionAttempt [private] |
DaimOscarClient _oscarClient [private] |
1.5.8