DefaultRPCNode

class DefaultRPCNode(contract: DefaultRPCNode.Contract, transport: RPCTransport) : RPCNode

Types

Contract
Link copied to clipboard
class Contract(payloadSerializer: PayloadSerializer, protocol: RPCProtocol, extensions: Map<RPCNodeExtension.Identifier<*>, RPCNodeExtension>) : RPCNode.Contract
Factory
Link copied to clipboard
class Factory(handshakePerformer: RPCHandshakePerformer, payloadSerializerFactory: PayloadSerializer.Factory, extensionFactories: List<RPCNodeExtension.Factory<*>>, providedServiceRegistry: ServiceRegistry)

Functions

getExtension
Link copied to clipboard
open override fun <E : RPCNodeExtension> getExtension(identifier: RPCNodeExtension.Identifier<E>): E?
run
Link copied to clipboard
suspend fun run(onInitializationCompleted: suspend () -> Unit)

Properties

contract
Link copied to clipboard
open override val contract: DefaultRPCNode.Contract
isActive
Link copied to clipboard
val isActive: Boolean
transport
Link copied to clipboard
val transport: RPCTransport