public interface SampXmlRpcClient
Modifier and Type | Method and Description |
---|---|
void |
callAndForget(String method,
List params)
Sends a call, but does not wait around for the response.
|
Object |
callAndWait(String method,
List params)
Makes a synchronous call, waiting for the response and returning
the result.
|
Object callAndWait(String method, List params) throws IOException
method
- XML-RPC method nameparams
- parameters for XML-RPC call (SAMP-compatible)IOException
void callAndForget(String method, List params) throws 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)IOException
Copyright © 2008–2024. All rights reserved.