|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstantMessagingServerManager
Method Summary | |
---|---|
Collection |
getAllInstantMessagingServers()
Returns all InstantMessagingServerDefinition objects |
InstantMessagingServerDefinition |
getInstantMessagingServer(long instantMessagingServerId)
Returns the InstantMessagingServerDefinition that matches the passed id |
void |
removeInstantMessagingServer(long instantMessagingServerId)
Removes the InstantMessagingServerDefinition with the matching id |
void |
saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
Stores the InstantMessagingServerDefinition . |
void |
sendMessage(InstantMessagingServerDefinition server,
Set recipients,
String message)
Deprecated. - use BambooSmackClient |
Method Detail |
---|
Collection getAllInstantMessagingServers()
InstantMessagingServerDefinition
objects
InstantMessagingServerDefinition
objects, Collections.EMPTY_LIST
if none exists.void saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
InstantMessagingServerDefinition
.
instantMessagingServer
- - Must not be nullInstantMessagingServerDefinition getInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerDefinition
that matches the passed id
instantMessagingServerId
-
InstantMessagingServerDefinition
object. Null if the server does not existvoid removeInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerDefinition
with the matching id
instantMessagingServerId
-
IllegalArgumentException
- - is thrown if server does not existvoid sendMessage(InstantMessagingServerDefinition server, Set recipients, String message) throws XMPPException
BambooSmackClient
server
- recipients
- message
-
XMPPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |