public interface SampXmlRpcClient
| Modifier and Type | Method and Description |
|---|---|
void |
callAndForget(java.lang.String method,
java.util.List params)
Sends a call, but does not wait around for the response.
|
java.lang.Object |
callAndWait(java.lang.String method,
java.util.List params)
Makes a synchronous call, waiting for the response and returning
the result.
|
java.lang.Object callAndWait(java.lang.String method,
java.util.List params)
throws java.io.IOException
method - XML-RPC method nameparams - parameters for XML-RPC call (SAMP-compatible)java.io.IOExceptionvoid callAndForget(java.lang.String method,
java.util.List params)
throws java.io.IOException
NOTE: it seems to be difficult to implement this method in a
way which is faster than callAndWait(java.lang.String, java.util.List) but does not cause
problems elsewhere (incomplete HTTP responses). It is probably
a good idea to avoid using it if possible.
method - XML-RPC method nameparams - parameters for XML-RPC call (SAMP-compatible)java.io.IOException