|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMConnection
Represents a connection to an IM-Server.
| Method Summary | |
|---|---|
void |
close()
Closes the connection (includes logout) and releases resources. |
java.lang.String |
getDefaultIdSuffix()
|
void |
send(IMMessageTarget target,
java.lang.String text)
Sends a Message-Text to an IMMessageTarget (aka a User ;). |
void |
setPresence(IMPresence presence)
Sets the current connections� presence to a protocol specific adaption of the given presence parameter. |
| Method Detail |
|---|
void close()
void send(IMMessageTarget target,
java.lang.String text)
throws IMException
target - the target to send totext - the text to be sent
IMException
void setPresence(IMPresence presence)
throws IMException
presence - the presence to set
IMException - encapsulated exception of underlying protocol/clientjava.lang.String getDefaultIdSuffix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||