public class Api extends Object
| Constructor and Description |
|---|
Api(String login,
String password)
Constructor
|
Api(String login,
String password,
Hashtable<String,String> config)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
call(String method,
Object... params)
call
|
com.google.gson.JsonElement |
send(String method,
ArrayList params) |
com.google.gson.JsonElement |
send(String method,
ArrayList params,
int id)
send
|
public Api(String login, String password, Hashtable<String,String> config)
login - CALLR loginpassword - CALLR passwordconfig - extra configuration optionspublic com.google.gson.JsonElement call(String method, Object... params) throws ThecallrException, ThecallrClientException
method - params - ThecallrExceptionThecallrClientExceptionpublic com.google.gson.JsonElement send(String method, ArrayList params, int id) throws ThecallrException, ThecallrClientException
method - params - id - ThecallrExceptionThecallrClientExceptionpublic com.google.gson.JsonElement send(String method, ArrayList params) throws ThecallrException, ThecallrClientException
Copyright © 2016. All rights reserved.