public class EjabberdXMLRPCClient extends Object
| Constructor and Description |
|---|
EjabberdXMLRPCClient(ExecutorService executorService,
org.apache.xmlrpc.client.XmlRpcClient client) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<BooleanXmppResponse> |
addRosterItem(String localuser,
String localserver,
String user,
String server,
String nick,
String group,
String subs) |
CompletableFuture<BooleanXmppResponse> |
createUser(String username,
String host,
String password) |
CompletableFuture<BooleanXmppResponse> |
deleteRosterItem(String localuser,
String localserver,
String user,
String server) |
CompletableFuture<BooleanXmppResponse> |
deleteUser(String username,
String host) |
CompletableFuture<GetRosterResponse> |
getRoster(String user,
String server) |
CompletableFuture<GetUsersResponse> |
getUsers(String host) |
CompletableFuture<BooleanXmppResponse> |
sendChatMessage(String to,
String from,
String subject,
String body) |
CompletableFuture<BooleanXmppResponse> |
sendStanza(String to,
String from,
String stanza) |
public EjabberdXMLRPCClient(ExecutorService executorService, org.apache.xmlrpc.client.XmlRpcClient client)
public CompletableFuture<BooleanXmppResponse> createUser(String username, String host, String password)
public CompletableFuture<BooleanXmppResponse> deleteUser(String username, String host)
public CompletableFuture<GetUsersResponse> getUsers(String host)
public CompletableFuture<BooleanXmppResponse> addRosterItem(String localuser, String localserver, String user, String server, String nick, String group, String subs)
public CompletableFuture<BooleanXmppResponse> deleteRosterItem(String localuser, String localserver, String user, String server)
public CompletableFuture<GetRosterResponse> getRoster(String user, String server)
public CompletableFuture<BooleanXmppResponse> sendChatMessage(String to, String from, String subject, String body)
public CompletableFuture<BooleanXmppResponse> sendStanza(String to, String from, String stanza)
Copyright © 2016 teletronics.ae. All rights reserved.