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, wait
section, sectionNames
addSection
public RpcCore()
public RpcCore(IProvider provider)
public IRpc.RpcInterfaceSection author()
author
in interface IRpcModule
public IRpc.RpcInterfaceSection chain()
chain
in interface IRpcModule
public IRpc.RpcInterfaceSection state()
state
in interface IRpcModule
public IRpc.RpcInterfaceSection system()
system
in interface IRpcModule
public 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