
Classes | |
| class | AimStateHandler |
| class | BuddyChangeListener |
| class | ConversationHandler |
| class | Factory |
| class | IcbmHandler |
Public Member Functions | |
| BuddyInfo | _addBuddyIfNecessary (String buddyName) |
| void | addBuddy (String buddyName) |
| long | buddyListLastModified () |
| synchronized void | connect () throws IMConnectionException |
| synchronized void | disconnect () |
| synchronized String | getAwayMessage (String buddyName) |
| String[] | getBuddiesInGroupNamed (String groupName) |
| String[] | getGroupNames () |
| synchronized String | getStatusMessage (String buddyName) |
| synchronized boolean | isBuddyAway (String buddyName) |
| synchronized boolean | isBuddyOnline (String buddyName) |
| synchronized boolean | isConnected () |
| JOscarInstantMessenger (String screenName, String password) | |
| void | removeBuddy (String buddyName) |
| synchronized void | sendMessage (String buddyName, String message, boolean ignoreIfOffline) throws MessageException |
Protected Member Functions | |
| void | buddyListModified () |
Private Attributes | |
| AimSession | _aimSession |
| AimConnection | _conn |
| boolean | _connected |
| ConversationHandler | _conversationHandler |
| IcbmHandler | _icbmHandler |
| long | _lastBuddyListChange |
| long | _lastConnectionAttempt |
| JOscarInstantMessenger | ( | String | screenName, | |
| String | password | |||
| ) |
| BuddyInfo _addBuddyIfNecessary | ( | String | buddyName | ) |
| void addBuddy | ( | String | buddyName | ) |
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 buddyListModified | ( | ) | [protected] |
| synchronized void connect | ( | ) | throws IMConnectionException |
Connects to the instant messenger service.
| IMConnectionException | if the connect request fails |
Implements IInstantMessenger.
| synchronized 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.
| synchronized boolean isBuddyAway | ( | String | buddyName | ) |
Returns whether or not the given buddy is away.
| buddyName | the name of the buddy to check |
Implements IInstantMessenger.
| synchronized 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.
| synchronized boolean isConnected | ( | ) |
Returns whether or not this messenger is connected.
Implements IInstantMessenger.
| void removeBuddy | ( | String | buddyName | ) |
Removes a buddy from the buddy list.
| buddyName | the name of the buddy to remove |
| InstantMessengerException |
Implements IInstantMessenger.
| synchronized 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.
AimSession _aimSession [private] |
AimConnection _conn [private] |
boolean _connected [private] |
ConversationHandler _conversationHandler [private] |
IcbmHandler _icbmHandler [private] |
long _lastBuddyListChange [private] |
long _lastConnectionAttempt [private] |
1.5.8