|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISametimeClient
Provides access to features specific to the SAMETIME protocol.
An IClient can be casted to an ISametimeClient if the specified protocol is SAMETIME.
Field Summary |
---|
Fields inherited from interface com.zion.jbuddy.IClient |
---|
AIM, CONNECTION_CLOSED_REASON, DISCONNECT_REASON, FAILED_LOGIN_REASON, ICQ, JABBER, JSC, LCS, MSN, NETWORK_ERROR_REASON, PLAIN_TEXT, RICH_TEXT, SAMETIME, SERVICE_TEMPORARILY_UNAVAILABLE_REASON, UNKNOWN_REASON, USER_BOOTED_REASON, YIM |
Method Summary | |
---|---|
boolean |
addPublicGroup(String name)
Adds a Public Group to this client's Buddy List. |
void |
endConversation(String username)
Ends a conversation with a user. |
boolean |
isPublicGroup(String groupName)
Returns true if the specified Buddy Group is a Public Group. |
IBuddy[] |
resolveBuddies(String partialName)
Resolves a partial name to matching users from Sametime's user directory. |
String[] |
resolveNickName(String partialName)
Deprecated. As of 2.4, use resolveBuddies(String) . |
Method Detail |
---|
void endConversation(String username)
A connection is automatically opened with a user when sending or receiving messages. This closes that connection. Use this when the connection is no longer needed (such as when closing a UI message window).
boolean addPublicGroup(String name) throws IOException
If this call is successful, the Public Group (and its users) will be added to the Buddy List as a Buddy Group.
name
- the Public Group's name
IOException
- if there is a problem communicating with the serverboolean isPublicGroup(String groupName)
IBuddy[] resolveBuddies(String partialName) throws IOException
Use this method to retrieve information about users (like their username or nickname).
partialName
- part of a user's name (like their first or last name)
IOException
- if there is a problem communicating with the
directory serviceString[] resolveNickName(String partialName) throws IOException
resolveBuddies(String)
.
partialName
- part of a user's name (like their first or last name)
IOException
- if there is a problem communicating with the
directory service
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |