Package org.web3j.protocol.core
Class RemoteCall<T>
java.lang.Object
org.web3j.protocol.core.RemoteCall<T>
- Type Parameters:
T
- Our return type.
- Direct Known Subclasses:
RemoteFunctionCall
A common type for wrapping remote requests.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RemoteCall
-
-
Method Details
-
send
Perform request synchronously.- Returns:
- result of enclosed function
- Throws:
Exception
- if the function throws an exception
-
sendAsync
Perform request asynchronously with a future.- Returns:
- a future containing our function
-
flowable
Provide an flowable to emit result from our function.- Returns:
- an flowable
-