public class EjabberdXMLRPCClient extends Object implements IEjabberdXMLRPCClient
| Constructor and Description |
|---|
EjabberdXMLRPCClient(ExecutorService executorService,
org.apache.xmlrpc.client.XmlRpcClient client) |
public EjabberdXMLRPCClient(ExecutorService executorService, org.apache.xmlrpc.client.XmlRpcClient client)
public CompletableFuture<BooleanXmppResponse> createUser(String username, String host, String password)
createUser in interface IEjabberdXMLRPCClientpublic CompletableFuture<BooleanXmppResponse> deleteUser(String username, String host)
deleteUser in interface IEjabberdXMLRPCClientpublic CompletableFuture<GetUsersResponse> getUsers(String host)
getUsers in interface IEjabberdXMLRPCClientpublic CompletableFuture<BooleanXmppResponse> addRosterItem(String localuser, String localserver, String user, String server, String nick, String group, String subs)
addRosterItem in interface IEjabberdXMLRPCClientpublic CompletableFuture<BooleanXmppResponse> deleteRosterItem(String localuser, String localserver, String user, String server)
deleteRosterItem in interface IEjabberdXMLRPCClientpublic CompletableFuture<GetRosterResponse> getRoster(String user, String server)
getRoster in interface IEjabberdXMLRPCClientpublic CompletableFuture<BooleanXmppResponse> sendChatMessage(String to, String from, String subject, String body)
sendChatMessage in interface IEjabberdXMLRPCClientpublic CompletableFuture<BooleanXmppResponse> sendStanza(String to, String from, String stanza)
sendStanza in interface IEjabberdXMLRPCClientpublic CompletableFuture<GetUserPairListResponse> processRosterItems(String action, String subs, String asks, String users, String contacts)
processRosterItems in interface IEjabberdXMLRPCClientCopyright © 2017 teletronics.ae. All rights reserved.