|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIcqClient
Provides access to features specific to the ICQ protocol.
An IClient can be casted to an IIcqClient if the specified protocol is ICQ.
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 |
isSecure()
Returns true if this client is connected to the server, and the connection is secure. |
void |
sendConfigToServer()
Saves the buddy list, permit list, deny list, and permit mode to the server. |
void |
setSecure(boolean isSecure,
boolean isRequired)
Specifies whether a secure connection to the server should be used. |
Method Detail |
---|
boolean isSecure()
Valid for AIM, ICQ, JABBER, JSC, LCS.
isSecure
in interface IClient
void setSecure(boolean isSecure, boolean isRequired)
Valid for AIM, ICQ, JABBER, JSC, LCS.
This method will do nothing if it is called on a client that doesn't support TLS connections.
setSecure
in interface IClient
isSecure
- whether a secure connection to the server should be
used. If this is true, when connecting, a TLS
connection will be opened with the server.isRequired
- whether a secure connection to the server is required.
If isSecure and isRequired are both true, connect()
will only succeed if a secure connection was
successfully established.void sendConfigToServer() throws IOException
This method must be called for changes to any of these items to go into effect. This requests buddy presence and applies privacy settings.
sendConfigToServer
in interface IClient
IOException
- if there is a problem communicating with the server
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |