public interface IMConnection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection (includes logout) and releases resources.
|
void |
send(IMMessageTarget target,
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.
|
void close()
void send(IMMessageTarget target, String text) throws IMException
target - the target to send totext - the text to be sentIMExceptionvoid setPresence(IMPresence presence) throws IMException
presence - the presence to setIMException - encapsulated exception of underlying protocol/clientCopyright © 2004-2013. All Rights Reserved.