|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstantMessagingServerManager
Method Summary | |
---|---|
java.util.Collection<InstantMessagingServerDefinition> |
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,
java.util.Set recipients,
java.lang.String message)
Deprecated. - use BambooSmackClient |
Method Detail |
---|
@NotNull java.util.Collection<InstantMessagingServerDefinition> getAllInstantMessagingServers()
InstantMessagingServerDefinition
objects
InstantMessagingServerDefinition
objects, Collections.EMPTY_LIST
if none exists.void saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
InstantMessagingServerDefinition
.
instantMessagingServer
- - Must not be null@Nullable InstantMessagingServerDefinition 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
-
java.lang.IllegalArgumentException
- - is thrown if server does not existvoid sendMessage(InstantMessagingServerDefinition server, java.util.Set recipients, java.lang.String message) throws org.jivesoftware.smack.XMPPException
BambooSmackClient
server
- recipients
- message
-
org.jivesoftware.smack.XMPPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |