com.r3corda.core.node

Package com.r3corda.core.node

Types

AttachmentsClassLoader class AttachmentsClassLoader : SecureClassLoader

A custom ClassLoader that knows how to load classes from a set of attachments. The attachments themselves only need to provide JAR streams, and so could be fetched from a database, local disk, etc. Constructing an AttachmentsClassLoader is somewhat expensive, as every attachment is scanned to ensure that there are no overlapping file paths.

CityDatabase object CityDatabase

A simple lookup table of city names to their coordinates. Lookups are case insensitive.

CordaPluginRegistry abstract class CordaPluginRegistry

Implement this interface on a class advertised in a META-INF/services/com.r3corda.core.node.CordaPluginRegistry file to extend a Corda node with additional application services.

NodeInfo data class NodeInfo

Info about a network node that acts on behalf of some form of contract party.

PhysicalLocation data class PhysicalLocation

A labelled WorldCoordinate, where the label is human meaningful. For example, the name of the nearest city. Labels should not refer to non-landmarks, for example, they should not contain the names of organisations.

ServiceEntry data class ServiceEntry

Information for an advertised service including the service specific identity information. The identity can be used in protocols and is distinct from the Nodes legalIdentity

ServiceHub interface ServiceHub

A service hub simply vends references to the other services a node has. Some of those services may be missing or mocked out. This class is useful to pass to chunks of pluggable code that might have need of many different kinds of functionality and you dont want to hard-code which types in the interface.

WorldCoordinate data class WorldCoordinate

A latitude/longitude pair.

Functions

recordTransactions fun ServiceHub.recordTransactions(vararg txs: SignedTransaction): Unit

Given some SignedTransactions, writes them to the local storage for validated transactions and then sends them to the vault for further processing.