public class RpcCore extends java.lang.Object implements IRpcModule
| Modifier and Type | Method and Description |
|---|---|
IRpc.RpcInterfaceSection |
author() |
IRpc.RpcInterfaceSection |
chain() |
IRpcFunction |
createMethodSend(JsonRpcMethod jsonRpcMethod) |
IRpcFunction |
createMethodSubscribe(JsonRpcMethod jsonRpcMethod) |
IRpc.RpcInterfaceSection |
createRpcSection(JsonRpcSection jsonRpcSection) |
void |
disconnect()
Manually disconnect from the attached provider
|
IProvider |
getProvider() |
IRpc.RpcInterfaceSection |
state() |
IRpc.RpcInterfaceSection |
system() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsection, sectionNamesaddSectionpublic RpcCore()
public RpcCore(IProvider provider)
public IRpc.RpcInterfaceSection author()
author in interface IRpcModulepublic IRpc.RpcInterfaceSection chain()
chain in interface IRpcModulepublic IRpc.RpcInterfaceSection state()
state in interface IRpcModulepublic IRpc.RpcInterfaceSection system()
system in interface IRpcModulepublic IRpc.RpcInterfaceSection createRpcSection(JsonRpcSection jsonRpcSection)
public IRpcFunction createMethodSend(JsonRpcMethod jsonRpcMethod)
public IRpcFunction createMethodSubscribe(JsonRpcMethod jsonRpcMethod)
public IProvider getProvider()
public void disconnect()
Manually disconnect from the attached provider