public class XMPPDatabaseCallback extends Object implements ClientDelegateCallback<Object>
ClientDelegateCallback
for posting the message to the correct client.Constructor and Description |
---|
XMPPDatabaseCallback(org.jivesoftware.smack.packet.Message message,
AliasPacketExtension alias)
Constructor for
XMPPDatabaseCallback . |
Modifier and Type | Method and Description |
---|---|
Object |
doOnClient(ClientTO client)
Execute the method on the desired database.
|
public XMPPDatabaseCallback(org.jivesoftware.smack.packet.Message message, AliasPacketExtension alias)
XMPPDatabaseCallback
.message
- The message.alias
- The alias representing the blog.public Object doOnClient(ClientTO client) throws DelegateCallbackException
doOnClient
in interface ClientDelegateCallback<Object>
client
- the current client (optional, can be null in global context)DelegateCallbackException
Copyright © 2019 Communote team. All rights reserved.