Module Contents
alltypes
Module Contents
class ANSIProgressObserver
object ANSIProgressRenderer
interface APIServer
Module Contents
abstract fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
abstract fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
abstract fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
abstract fun fetchStates(states: List<StateRef>): Map<StateRef, TransactionState<ContractState>?>
abstract fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
abstract fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
abstract fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
abstract fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
abstract fun queryStates(query: StatesQuery): List<StateRef>
abstract fun serverTime(): LocalDateTime
abstract fun status(): <ERROR CLASS>
class APIServerImpl : APIServer
Module Contents
APIServerImpl(node: AbstractNode)
fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
fun fetchStates(states: List<StateRef>): Map<StateRef, TransactionState<ContractState>?>
fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
fun status(): <ERROR CLASS>
abstract class AbstractConserveAmount<S : FungibleAsset<T>, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
Module Contents
AbstractConserveAmount()
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<T>>, assetStates: List<StateAndRef<S>>, deriveState: (TransactionState<S>, Amount<Issued<T>>, PublicKey) -> TransactionState<S>, generateMoveCommand: () -> CommandData, generateExitCommand: (Amount<Issued<T>>) -> CommandData): PublicKey
fun generateSpend(tx: TransactionBuilder, amount: Amount<T>, to: PublicKey, assetsStates: List<StateAndRef<S>>, onlyFromParties: Set<Party>? = null, deriveState: (TransactionState<S>, Amount<Issued<T>>, PublicKey) -> TransactionState<S>, generateMoveCommand: () -> CommandData): List<PublicKey>
open fun toString(): String
open fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: Issued<T>?): Set<C>
abstract class AbstractIssue<in S : ContractState, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
abstract class AbstractJDBCHashMap<K : Any, V : Any, out T : JDBCHashedTable> : MutableMap<K, V>, AbstractMap<K, V>
abstract class AbstractJDBCHashSet<K : Any, out T : JDBCHashedTable> : MutableSet<K>, AbstractSet<K>
abstract class AbstractNetworkMapService : NetworkMapService, AbstractNodeService
abstract class AbstractNode : SingletonSerializeAsToken
abstract class AbstractNodeService : SingletonSerializeAsToken
abstract class AbstractStateReplacementProtocol<T>
interface AcceptsFileUpload
enum class AccrualAdjustment
object Ack : DeserializeAsKotlinObjectDef
enum class AddOrRemove
interface AffinityExecutor : Executor
class AggregatedList<A, E : Any, K : Any> : TransformationList<A, E>
class AllComposition<S : ContractState, C : CommandData, K : Any> : CompositeClause<S, C, K>
Module Contents
AllComposition(firstClause: Clause<S, C, K>, vararg remainingClauses: Clause<S, C, K>)
val clauses: ArrayList<Clause<S, C, K>>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
interface AllPossibleRecipients : MessageRecipients
data class Amount<T> : Comparable<Amount<T>>
object AmountBindings
class AmountGenerator<T>
class AnyComposition<in S : ContractState, C : CommandData, in K : Any> : CompositeClause<S, C, K>
Module Contents
AnyComposition(vararg rawClauses: Clause<S, C, K>)
val clauses: List<Clause<S, C, K>>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
data class AppContext
abstract class ArtemisMessagingComponent : SingletonSerializeAsToken
class ArtemisMessagingServer : ArtemisMessagingComponent
class AssociatedList<K, out A, B> : ReadOnlyBackedObservableMapBase<K, B, Unit>
interface Attachment : NamedByHash
class AttachmentDownloadServlet
interface AttachmentStorage
class AttachmentsClassLoader : SecureClassLoader
data class AuthenticatedObject<out T : Any>
object AutoOfferProtocol
abstract class BaseTransaction : NamedByHash
data class BilateralNetState<P> : NetState<P>
interface BilateralNettableState<N : BilateralNettableState<N>>
class BroadcastTransactionProtocol : ProtocolLogic<Unit>
open class BusinessCalendar
Module Contents
val TEST_CALENDAR_DATA: <ERROR CLASS>
class UnknownCalendar : Exception
open fun applyRollConvention(testDate: LocalDate, dateRollConvention: DateRollConvention): LocalDate
val calendars: <ERROR CLASS>
fun createGenericSchedule(startDate: LocalDate, period: Frequency, calendar: BusinessCalendar = getInstance(), dateRollConvention: DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods: Int = Integer.MAX_VALUE, endDate: LocalDate? = null, periodOffset: Int? = null): List<LocalDate>
open fun equals(other: Any?): Boolean
fun getInstance(vararg calname: String): BusinessCalendar
fun getOffsetDate(startDate: LocalDate, period: Frequency, steps: Int = 1): LocalDate
open fun hashCode(): Int
val holidayDates: List<LocalDate>
open fun isWorkingDay(date: LocalDate): Boolean
fun moveBusinessDays(date: LocalDate, direction: DateRollDirection, i: Int): LocalDate
fun parseDateFromString(it: String): LocalDate
class Cash : OnLedgerAsset<Currency, Commands, State>
Module Contents
Cash()
interface Clauses
interface Commands : Commands
data class State : FungibleAsset<Currency>, QueryableState
val conserveClause: AbstractConserveAmount<State, Commands, Currency>
fun deriveState(txState: TransactionState<State>, amount: Amount<Issued<Currency>>, owner: PublicKey): TransactionState<State>
fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): List<AuthenticatedObject<Commands>>
fun generateExitCommand(amount: Amount<Issued<Currency>>): Exit
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Currency>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, owner: PublicKey, notary: Party): Unit
fun generateIssueCommand(): Issue
fun generateMoveCommand(): Move
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
class CashBalanceAsMetricsObserver
object CashSchema
object CashSchemaV1 : MappedSchema
class CertificateSigner
interface CertificateSigningService
class Checkpoint
interface CheckpointStorage
class ChosenList<E> : ObservableListBase<E>
object CityDatabase
abstract class Clause<in S : ContractState, C : CommandData, in K : Any>
sealed class CliParams
object CliParamsSpec
data class ClientRPCRequestMessage
sealed class ClientToServiceCommand
data class Command
interface CommandData
class CommandDataGenerator
class CommandGenerator
class CommercialPaper : Contract
class CommercialPaperLegacy : Contract
object CommercialPaperSchema
object CommercialPaperSchemaV1 : MappedSchema
data class Commodity
class CommodityContract : OnLedgerAsset<Commodity, Commands, State>
Module Contents
CommodityContract()
interface Clauses
interface Commands : Commands
data class State : FungibleAsset<Commodity>
val conserveClause: AbstractConserveAmount<State, Commands, Commodity>
fun deriveState(txState: TransactionState<State>, amount: Amount<Issued<Commodity>>, owner: PublicKey): TransactionState<State>
fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): List<AuthenticatedObject<Commands>>
fun generateExitCommand(amount: Amount<Issued<Commodity>>): Exit
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Commodity>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Commodity>>, owner: PublicKey, notary: Party): Unit
fun generateIssueCommand(): Issue
fun generateMoveCommand(): Move
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
abstract class CompositeClause<in S : ContractState, C : CommandData, in K : Any> : Clause<S, C, K>
class ConcatenatedList<A> : TransformationList<A, ObservableList<A>>
class Config
object ConfigHelper
class ConfigurationException : Exception
interface Contract
data class ContractClassRef : ContractDefRef
interface ContractDefRef
data class ContractLedgerRef : ContractDefRef
interface ContractState
class ContractStateGenerator
class ContractStateModel
abstract class CordaPluginRegistry
class CordaRPCClient : Closeable, ArtemisMessagingComponent
interface CordaRPCOps : RPCOps
class CubicSplineInterpolator : Interpolator
class CurrencyGenerator
class DBCheckpointStorage : CheckpointStorage
class DataUploadServlet
object DataVending
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
class DemoClock : MutableClock, SerializeAsToken
interface DeserializeAsKotlinObjectDef
data class Diff<out T : ContractState>
open class DigitalSignature : OpaqueBytes
class DriverDSL : DriverDSLInternalInterface
interface DriverDSLExposedInterface
interface DriverDSLInternalInterface : DriverDSLExposedInterface
class DummyContract : Contract
class DummyPublicKey : PublicKey, Comparable<PublicKey>
data class DummyState : ContractState
class DurationGenerator
class E2ETestKeyManagementService : SingletonSerializeAsToken, KeyManagementService
object Ed25519PrivateKeySerializer
object Ed25519PublicKeySerializer
object Emoji
data class ErrorOr<out A>
open class Event
class EventGenerator
interface ExchangeRate
class ExchangeRateModel
class ExitGenerator
object ExitServerProtocol
data class Expression
object ExpressionDeserializer
object ExpressionSerializer
class FetchAttachmentsProtocol : FetchDataProtocol<Attachment, ByteArray>
abstract class FetchDataProtocol<T : NamedByHash, in W : Any> : ProtocolLogic<Result<T>>
class FetchTransactionsProtocol : FetchDataProtocol<SignedTransaction, SignedTransaction>
class FiberBox<out T>
class FilterOn<S : ContractState, C : CommandData, K : Any> : Clause<ContractState, C, K>
Module Contents
FilterOn(clause: Clause<S, C, K>, filterStates: (List<ContractState>) -> List<S>)
val clause: Clause<S, C, K>
val filterStates: (List<ContractState>) -> List<S>
fun getExecutionPath(commands: List<AuthenticatedObject<C>>): List<Clause<*, *, *>>
val requiredCommands: Set<Class<out CommandData>>
fun verify(tx: TransactionForContract, inputs: List<ContractState>, outputs: List<ContractState>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
class FinalityProtocol : ProtocolLogic<Unit>
class FirstComposition<S : ContractState, C : CommandData, K : Any> : CompositeClause<S, C, K>
Module Contents
FirstComposition(firstClause: Clause<S, C, K>, vararg remainingClauses: Clause<S, C, K>)
val clauses: ArrayList<Clause<S, C, K>>
val firstClause: Clause<S, C, K>
val logger: <ERROR CLASS>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
object FixingSessionInitiation
class FlattenedList<A> : TransformationList<A, ObservableValue<out A>>
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
Module Contents
FloatingRatePaymentEvent(date: LocalDate, accrualStartDate: LocalDate, accrualEndDate: LocalDate, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, fixingDate: LocalDate, notional: Amount<Currency>, rate: Rate)
val CSVHeader: String
fun asCSV(): String
fun copy(date: LocalDate = this.date, accrualStartDate: LocalDate = this.accrualStartDate, accrualEndDate: LocalDate = this.accrualEndDate, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, fixingDate: LocalDate = this.fixingDate, notional: Amount<Currency> = this.notional, rate: Rate = this.rate): FloatingRatePaymentEvent
fun equals(other: Any?): Boolean
val fixingDate: LocalDate
val flow: Amount<Currency>
fun hashCode(): Int
fun toString(): String
fun withNewRate(newRate: Rate): FloatingRatePaymentEvent
enum class Frequency
class FullNodeConfiguration : NodeConfiguration
interface FungibleAsset<T> : OwnableState
data class GatheredTransactionData
class GatheredTransactionDataModel
class Generator<out A>
Module Contents
Generator(generate: (Random) -> ErrorOr<A>)
fun <B> bind(function: (A) -> Generator<B>): Generator<Nothing>
fun <A> choice(generators: List<Generator<A>>): Generator<Nothing>
fun <B, R> combine(other1: Generator<B>, function: (A, B) -> R): Generator<R>
fun <B, C, R> combine(other1: Generator<B>, other2: Generator<C>, function: (A, B, C) -> R): Generator<R>
fun <B, C, D, R> combine(other1: Generator<B>, other2: Generator<C>, other3: Generator<D>, function: (A, B, C, D) -> R): Generator<R>
fun <B, C, D, E, R> combine(other1: Generator<B>, other2: Generator<C>, other3: Generator<D>, other4: Generator<E>, function: (A, B, C, D, E) -> R): Generator<R>
fun <A> fail(error: Exception): Generator<A>
fun <A> frequency(vararg generators: <ERROR CLASS><Double, Generator<A>>): Generator<A>
val generate: (Random) -> ErrorOr<A>
fun <A> impure(valueClosure: () -> A): Generator<A>
fun <B> map(function: (A) -> B): Generator<B>
fun <B> product(other: Generator<(A) -> B>): Generator<B>
fun <A> pure(value: A): Generator<A>
fun <A> sequence(generators: List<Generator<A>>): Generator<List<A>>
fun <A> success(generate: (Random) -> A): Generator<A>
abstract class GroupClauseVerifier<S : ContractState, C : CommandData, K : Any> : Clause<ContractState, C, Unit>
Module Contents
GroupClauseVerifier(clause: Clause<S, C, K>)
val clause: Clause<S, C, K>
open fun getExecutionPath(commands: List<AuthenticatedObject<C>>): List<Clause<*, *, *>>
abstract fun groupStates(tx: TransactionForContract): List<InOutGroup<S, K>>
open fun verify(tx: TransactionForContract, inputs: List<ContractState>, outputs: List<ContractState>, commands: List<AuthenticatedObject<C>>, groupingKey: Unit?): Set<C>
class HTTPCertificateSigningService : CertificateSigningService
class HibernateObserver
enum class IRSDemoNode
class IRSDemoPluginRegistry : CordaPluginRegistry
enum class IRSDemoRole
class IRSSimulation : Simulation
interface IdentityService
class IllegalProtocolLogicException : IllegalArgumentException
class ImmutableClassSerializer<T : Any>
class InMemoryIdentityService : SingletonSerializeAsToken, IdentityService
open class InMemoryNetworkMapCache : SingletonSerializeAsToken, NetworkMapCache
class InMemoryNetworkMapService : AbstractNetworkMapService
class InMemoryStateMachineRecordedTransactionMappingStorage : StateMachineRecordedTransactionMappingStorage
class InMemoryUniquenessProvider : UniquenessProvider
open class InMemoryVaultService : SingletonSerializeAsToken, VaultService
class InstantGenerator
class InsufficientBalanceException : Exception
class InterestRateSwap : Contract
Module Contents
InterestRateSwap()
data class Calculation
interface Clauses
interface Commands : CommandData
data class Common
Module Contents
Common(baseCurrency: Currency, eligibleCurrency: Currency, eligibleCreditSupport: String, independentAmounts: Amount<Currency>, threshold: Amount<Currency>, minimumTransferAmount: Amount<Currency>, rounding: Amount<Currency>, valuationDateDescription: String, notificationTime: String, resolutionTime: String, interestRate: ReferenceRate, addressForTransfers: String, exposure: UnknownType, localBusinessDay: BusinessCalendar, dailyInterestAmount: Expression, tradeID: String, hashLegalDocs: String)
val addressForTransfers: String
val baseCurrency: Currency
val dailyInterestAmount: Expression
val eligibleCreditSupport: String
val eligibleCurrency: Currency
val exposure: UnknownType
val hashLegalDocs: String
val independentAmounts: Amount<Currency>
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount<Currency>
val notificationTime: String
val resolutionTime: String
val rounding: Amount<Currency>
val threshold: Amount<Currency>
val tradeID: String
val valuationDateDescription: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
val dayCountBasisDay: DayCountBasisDay
val dayCountBasisYear: DayCountBasisYear
val dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
val interestPeriodAdjustment: AccrualAdjustment
val notional: Amount<Currency>
val paymentCalendar: BusinessCalendar
val paymentDelay: Int
val paymentFrequency: Frequency
val paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, fixedRate: FixedRate, rollConvention: DateRollConvention)
fun copy(fixedRatePayer: Party = this.fixedRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, fixedRate: FixedRate = this.fixedRate): FixedLeg
open fun equals(other: Any?): Boolean
var fixedRate: FixedRate
var fixedRatePayer: Party
open fun hashCode(): Int
var rollConvention: DateRollConvention
open fun toString(): String
class FloatingLeg : CommonLeg
Module Contents
FloatingLeg(floatingRatePayer: Party, notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, rollConvention: DateRollConvention, fixingRollConvention: DateRollConvention, resetDayInMonth: Int, fixingPeriodOffset: Int, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
fun copy(floatingRatePayer: Party = this.floatingRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, rollConvention: DateRollConvention = this.rollConvention, fixingRollConvention: DateRollConvention = this.fixingRollConvention, resetDayInMonth: Int = this.resetDayInMonth, fixingPeriod: Int = this.fixingPeriodOffset, resetRule: PaymentRule = this.resetRule, fixingsPerPayment: Frequency = this.fixingsPerPayment, fixingCalendar: BusinessCalendar = this.fixingCalendar, index: String = this.index, indexSource: String = this.indexSource, indexTenor: Tenor = this.indexTenor): FloatingLeg
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriodOffset: Int
var fixingRollConvention: DateRollConvention
var fixingsPerPayment: Frequency
var floatingRatePayer: Party
open fun hashCode(): Int
var index: String
var indexSource: String
var indexTenor: Tenor
var resetDayInMonth: Int
var resetRule: PaymentRule
var rollConvention: DateRollConvention
open fun toString(): String
data class State : FixableDealState, SchedulableState
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common, notary: Party): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: Fix): Unit
val legalContractReference: <ERROR CLASS>
val oracleType: ServiceType
fun verify(tx: TransactionForContract): Unit
class InterestRateSwapAPI
interface Interpolator
interface InterpolatorFactory
interface IssuanceDefinition
interface IssueCommand : CommandData
class IssueGenerator
data class Issued<out P>
class IssuedGenerator<T>
class JDBCHashMap<K : Any, V : Any> : AbstractJDBCHashMap<K, V, BlobMapTable>
class JDBCHashSet<K : Any> : AbstractJDBCHashSet<K, BlobSetTable>
open class JDBCHashedTable
object JsonSupport
interface KeyManagementService
object KotlinObjectSerializer
data class LastAcknowledgeInfo
class LedgerTransaction : BaseTransaction
class LeftOuterJoinedMap<K : Any, A, B, C> : ReadOnlyBackedObservableMapBase<K, C, SimpleObjectProperty<B?>>
class LinearInterpolator : Interpolator
interface LinearState : ContractState
object LocalDateColumnType
object LogHelper
class MapValuesList<K, A, C> : ObservableList<C>
class MappedList<A, B> : TransformationList<B, A>
abstract class MappedSchema
data class MarshalledObservation
interface Message
interface MessageHandlerRegistration
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
interface MessagingService
Module Contents
abstract fun addMessageHandler(topic: String = "", sessionID: Long = DEFAULT_SESSION_ID, executor: Executor? = null, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
abstract fun addMessageHandler(topicSession: TopicSession, executor: Executor? = null, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
abstract fun createMessage(topicSession: TopicSession, data: ByteArray, uuid: UUID = UUID.randomUUID()): Message
abstract val myAddress: SingleMessageRecipient
abstract fun removeMessageHandler(registration: MessageHandlerRegistration): Unit
abstract fun send(message: Message, target: MessageRecipients): Unit
interface MessagingServiceBuilder<out T : MessagingServiceInternal>
interface MessagingServiceInternal : MessagingService
class MissingAttachmentsException : Exception
object Models
class MonitoringService : SingletonSerializeAsToken
interface MoveCommand : CommandData
class MoveGenerator
data class MultilateralNetState<P> : NetState<P>
interface MultilateralNettableState<out T : Any>
abstract class MutableClock : Clock
interface NamedByHash
open class NetClause<C : CommandData, P> : Clause<ContractState, C, Unit>
interface NetCommand : CommandData
interface NetState<P>
enum class NetType
interface NettableState<N : BilateralNettableState<N>, T : Any> : BilateralNettableState<N>, MultilateralNettableState<T>
sealed class NetworkCacheError : Exception
interface NetworkMapCache
interface NetworkMapService
class NoReferencesSerializer<T>
open class NoZeroSizedOutputs<in S : FungibleAsset<T>, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
class Node : AbstractNode
class NodeAttachmentService : AttachmentStorage, AcceptsFileUpload
class NodeClock : Clock, SerializeAsToken
interface NodeConfiguration : NodeSSLConfiguration
data class NodeInfo
object NodeInterestRates
sealed class NodeMapError : Exception
class NodeMessagingClient : ArtemisMessagingComponent, MessagingServiceInternal
Module Contents
NodeMessagingClient(config: NodeConfiguration, serverHostPort: <ERROR CLASS>, myIdentity: PublicKey?, executor: AffinityExecutor, persistentInbox: Boolean = true, persistenceTx: (() -> Unit) -> Unit = { it() })
data class Handler : MessageHandlerRegistration
val SESSION_ID_PROPERTY: String
val TOPIC_PROPERTY: String
fun addMessageHandler(topic: String, sessionID: Long, executor: Executor?, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
fun addMessageHandler(topicSession: TopicSession, executor: Executor?, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
fun createMessage(topicSession: TopicSession, data: ByteArray, uuid: UUID): Message
var dispatcher: RPCDispatcher?
val executor: AffinityExecutor
val log: <ERROR CLASS>
fun makeNetworkMapAddress(hostAndPort: <ERROR CLASS>): SingleMessageRecipient
val myAddress: SingleMessageRecipient
val myIdentity: PublicKey?
val persistenceTx: (() -> Unit) -> Unit
val persistentInbox: Boolean
fun removeMessageHandler(registration: MessageHandlerRegistration): Unit
fun run(): Unit
fun send(message: Message, target: MessageRecipients): Unit
val serverHostPort: <ERROR CLASS>
fun start(rpcOps: CordaRPCOps? = null): Unit
fun stop(): Unit
class NodeMonitorModel
class NodeRegistration
data class NodeRegistrationInfo
interface NodeSSLConfiguration
class NodeSchedulerService : SchedulerService, SingletonSerializeAsToken
class NodeSchemaService : SchemaService, SingletonSerializeAsToken
class NodeVaultService : SingletonSerializeAsToken, VaultService
class NonEmptySet<T> : MutableSet<T>
object NonEmptySetSerializer
object NotaryChange
object NotaryChangeProtocol : AbstractStateReplacementProtocol<Party>
sealed class NotaryError
class NotaryException : Exception
object NotaryProtocol
abstract class NotaryService : SingletonSerializeAsToken
object NullPublicKey : PublicKey, Comparable<PublicKey>
object NullSignature : WithKey
class Obligation<P> : Contract
Module Contents
Obligation()
interface Clauses
Module Contents
class ConserveAmount<P> : AbstractConserveAmount<State<P>, Commands, Terms<P>>
class Group<P> : GroupClauseVerifier<State<P>, Commands, Issued<Terms<P>>>
class Issue<P> : AbstractIssue<State<P>, Commands, Terms<P>>
class Net<C : CommandData, P> : NetClause<C, P>
class SetLifecycle<P> : Clause<State<P>, Commands, Issued<Terms<P>>>
class Settle<P> : Clause<State<P>, Commands, Issued<Terms<P>>>
class VerifyLifecycle<S : ContractState, C : CommandData, T : Any, P> : Clause<S, C, T>
interface Commands : Commands
enum class Lifecycle
data class State<P> : FungibleAsset<Terms<P>>, NettableState<State<P>, MultilateralNetState<P>>
data class Terms<P>
fun generateCloseOutNetting(tx: TransactionBuilder, signer: PublicKey, vararg states: State<P>): Unit
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<Terms<P>>>, assetStates: List<StateAndRef<State<P>>>): PublicKey
fun generateIssue(tx: TransactionBuilder, obligor: Party, issuanceDef: Terms<P>, pennies: Long, beneficiary: PublicKey, notary: Party): Unit
fun generatePaymentNetting(tx: TransactionBuilder, issued: Issued<Terms<P>>, notary: Party, vararg states: State<P>): Unit
fun generateSetLifecycle(tx: TransactionBuilder, statesAndRefs: List<StateAndRef<State<P>>>, lifecycle: Lifecycle, notary: Party): Unit
fun generateSettle(tx: TransactionBuilder, statesAndRefs: Iterable<StateAndRef<State<P>>>, assetStatesAndRefs: Iterable<StateAndRef<FungibleAsset<P>>>, moveCommand: MoveCommand, notary: Party): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
abstract class OnLedgerAsset<T : Any, C : CommandData, S : FungibleAsset<T>> : Contract
Module Contents
OnLedgerAsset()
abstract val conserveClause: AbstractConserveAmount<S, C, T>
abstract fun deriveState(txState: TransactionState<S>, amount: Amount<Issued<T>>, owner: PublicKey): TransactionState<S>
abstract fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): Collection<AuthenticatedObject<C>>
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<T>>, assetStates: List<StateAndRef<S>>): PublicKey
abstract fun generateExitCommand(amount: Amount<Issued<T>>): Exit<T>
abstract fun generateIssueCommand(): Issue
abstract fun generateMoveCommand(): Move
fun generateSpend(tx: TransactionBuilder, amount: Amount<T>, to: PublicKey, assetsStates: List<StateAndRef<S>>, onlyFromParties: Set<Party>? = null): List<PublicKey>
open class OpaqueBytes
class OptionalConfig<out T>
interface OwnableState : ContractState
object ParamsSpec
object ParamsSpec
data class PartiallyResolvedTransaction
data class Party
data class PartyAndReference
class PartyAndReferenceGenerator
data class PartyColumns
class PartyGenerator
abstract class PaymentEvent : Event
enum class PaymentRule
class PerFileCheckpointStorage : CheckpointStorage
class PerFileTransactionStorage : TransactionStorage
open class PercentageRatioUnit : RatioUnit
class PersistentKeyManagementService : SingletonSerializeAsToken, KeyManagementService
class PersistentNetworkMapService : AbstractNetworkMapService
open class PersistentState
data class PersistentStateRef : Serializable
class PersistentUniquenessProvider : UniquenessProvider, SingletonSerializeAsToken
data class PhysicalLocation
class Polynomial
sealed class PortAllocation
class PrivateKeyGenerator
class ProgressTracker
data class ProgressTrackingEvent
data class ProtocolClassRef : ProtocolRef
interface ProtocolIORequest
data class ProtocolInstanceRef
abstract class ProtocolLogic<out T>
data class ProtocolLogicRef
class ProtocolLogicRefFactory : SingletonSerializeAsToken
interface ProtocolRef
data class ProtocolRequiringAttention
class ProtocolSessionException : Exception
interface ProtocolStateMachine<R>
class ProtocolStateMachineImpl<R> : ProtocolStateMachine<R>
data class ProtocolStatus
object PublicKeyColumnType
class PublicKeyGenerator
sealed class PublicKeyTree
interface QueryableState : ContractState
abstract class RPCDispatcher
open class RPCException : RuntimeException
interface RPCOps
@Target([AnnotationTarget.FUNCTION]) annotation class RPCReturnsObservables
@Target([AnnotationTarget.FUNCTION]) annotation class RPCSinceVersion
open class Rate
abstract class RatePaymentEvent : PaymentEvent
open class RatesFixProtocol : ProtocolLogic<Unit>
open class RatioUnit
open class ReadOnlyBackedObservableMapBase<K, A, B> : ObservableMap<K, A>
interface ReadOnlyTransactionStorage
data class ReceiveOnly<T : SessionMessage> : ReceiveRequest<T>
interface ReceiveRequest<T : SessionMessage> : ProtocolIORequest
class ReferenceRate : FloatingRate
object ReferencesAwareJavaSerializer
interface RegulatorService
class ReplayedList<A> : TransformationList<A, A>
class Requirements
class ResolveTransactionsProtocol : ProtocolLogic<List<LedgerTransaction>>
class ResponseFilter
abstract class RetryableException : Exception
enum class Role
enum class Role
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
class ScheduledActivityObserver
data class ScheduledStateRef : Scheduled
interface SchedulerService
interface SchemaService
sealed class SecureHash : OpaqueBytes
object SecureHashColumnType
class SecureHashGenerator
data class SendAndReceive<T : SessionMessage> : SendRequest, ReceiveRequest<T>
data class SendOnly : SendRequest
interface SendRequest : ProtocolIORequest
interface SerializationToken
interface SerializeAsToken
class SerializeAsTokenContext
class SerializeAsTokenSerializer<T : SerializeAsToken>
class SerializedBytes<T : Any> : OpaqueBytes
object SerializedBytesSerializer
class ServerRPCOps : CordaRPCOps
data class ServiceEntry
interface ServiceHub
abstract class ServiceHubInternal : ServiceHub
data class ServiceInfo
interface ServiceRequestMessage
sealed class ServiceType
open class SignedData<T : Any>
data class SignedTransaction : NamedByHash
class SignedTransactionGenerator
class SimpleNotaryService : NotaryService
abstract class Simulation
interface SingleMessageRecipient : MessageRecipients
data class SingletonSerializationToken : SerializationToken
abstract class SingletonSerializeAsToken : SerializeAsToken
class SplineFunction
class StackSnapshot : Throwable
data class StateAndRef<out T : ContractState>
data class StateMachineData
data class StateMachineInfo
class StateMachineManager
interface StateMachineRecordedTransactionMappingStorage
data class StateMachineRunId
sealed class StateMachineStatus
data class StateMachineTransactionMapping
sealed class StateMachineUpdate
data class StateRef
data class StateRefColumns
class StateRefGenerator
class StateReplacementException : Exception
class StateReplacementRefused
interface StatesQuery
interface StorageService
open class StorageServiceImpl : SingletonSerializeAsToken, TxWritableStorageService
class StrandLocalTransactionManager
data class Tenor
class ThreadBox<out T>
data class TimeWindow
data class Timestamp
class TimestampChecker
class TimestampGenerator
data class TopicSession
object TopicStringValidator
sealed class TrackedDelegate<M : Any>
Module Contents
class EventSinkDelegate<M : Any, T> : TrackedDelegate<M>
class EventStreamDelegate<M : Any, T> : TrackedDelegate<M>
class ObjectPropertyDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableListDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableListReadOnlyDelegate<M : Any, out T> : TrackedDelegate<M>
class ObservableValueDelegate<M : Any, T> : TrackedDelegate<M>
class ObserverDelegate<M : Any, T> : TrackedDelegate<M>
class SubjectDelegate<M : Any, T> : TrackedDelegate<M>
class WritableValueDelegate<M : Any, T> : TrackedDelegate<M>
val klass: KClass<M>
class TradeSimulation : Simulation
sealed class TransactionBuildResult
data class TransactionBuildStep
open class TransactionBuilder
Module Contents
TransactionBuilder(type: TransactionType = TransactionType.General(), notary: Party? = null, inputs: MutableList<StateRef> = arrayListOf(), attachments: MutableList<SecureHash> = arrayListOf(), outputs: MutableList<TransactionState<ContractState>> = arrayListOf(), commands: MutableList<Command> = arrayListOf(), signers: MutableSet<PublicKey> = mutableSetOf(), timestamp: Timestamp? = null)
fun addAttachment(attachmentId: SecureHash): Unit
fun addCommand(arg: Command): Unit
fun addCommand(data: CommandData, vararg keys: PublicKey): <ERROR CLASS>
fun addCommand(data: CommandData, keys: List<PublicKey>): Unit
open fun addInputState(stateAndRef: StateAndRef<*>): Unit
fun addOutputState(state: TransactionState<*>): Int
fun addOutputState(state: ContractState, notary: Party): Int
fun addOutputState(state: ContractState): Int
fun addSignatureUnchecked(sig: WithKey): TransactionBuilder
fun attachments(): List<SecureHash>
protected val attachments: MutableList<SecureHash>
fun checkAndAddSignature(sig: WithKey): Unit
fun checkSignature(sig: WithKey): Unit
fun commands(): List<Command>
protected val commands: MutableList<Command>
fun copy(): TransactionBuilder
protected val currentSigs: <ERROR CLASS>
fun inputStates(): List<StateRef>
protected val inputs: MutableList<StateRef>
var notary: Party?
fun outputStates(): List<TransactionState<*>>
protected val outputs: MutableList<TransactionState<ContractState>>
fun setTime(time: Instant, timeTolerance: Duration): Unit
fun setTime(newTimestamp: Timestamp): Unit
fun signWith(key: KeyPair): TransactionBuilder
protected val signers: MutableSet<PublicKey>
val time: Timestamp?
protected var timestamp: Timestamp?
fun toSignedTransaction(checkSufficientSignatures: Boolean = true): SignedTransaction
fun toWireTransaction(): WireTransaction
protected val type: TransactionType
fun withItems(vararg items: Any): TransactionBuilder
class TransactionConflictException : Exception
sealed class TransactionCreateStatus
data class TransactionForContract
Module Contents
TransactionForContract(inputs: List<ContractState>, outputs: List<ContractState>, attachments: List<Attachment>, commands: List<AuthenticatedObject<CommandData>>, origHash: SecureHash, inputNotary: Party? = null, timestamp: Timestamp? = null)
data class InOutGroup<out T : ContractState, out K : Any>
val attachments: List<Attachment>
val commands: List<AuthenticatedObject<CommandData>>
fun equals(other: Any?): Boolean
fun <T : ContractState, K : Any> groupStates(ofType: Class<T>, selector: (T) -> K): List<InOutGroup<T, K>>
inline fun <reified T : ContractState, K : Any> groupStates(selector: (T) -> K): List<InOutGroup<T, K>>
fun <T : ContractState, K : Any> groupStatesInternal(inGroups: Map<K, List<T>>, outGroups: Map<K, List<T>>): List<InOutGroup<T, K>>
fun hashCode(): Int
val inputNotary: Party?
val inputs: List<ContractState>
val origHash: SecureHash
val outputs: List<ContractState>
val timestamp: Timestamp?
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionResolutionException : Exception
data class TransactionState<out T : ContractState>
class TransactionStateGenerator<T : ContractState>
interface TransactionStorage : ReadOnlyTransactionStorage
sealed class TransactionType
sealed class TransactionVerificationException : Exception
class TransientProperty<out T>
object TwoPartyDealProtocol
object TwoPartyTradeProtocol
interface TxWritableStorageService : StorageService
abstract class TypeOnlyCommandData : CommandData
object UUIDStringColumnType
data class UniqueIdentifier : Comparable<UniqueIdentifier>
class UniquenessException : Exception
interface UniquenessProvider
open class UnknownType
class UntrustworthyData<out T>
object UpdateBusinessDayProtocol
class ValidatingNotaryProtocol : Service
class ValidatingNotaryService : NotaryService
class Vault
interface VaultService
class WhitelistTrustManager : X509ExtendedTrustManager
Module Contents
WhitelistTrustManager(originalProvider: X509ExtendedTrustManager)
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String, socket: Socket?): Unit
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?): Unit
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, socket: Socket?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String): Unit
val checker: HostnameChecker
fun getAcceptedIssuers(): Array<out X509Certificate>
val originalProvider: X509ExtendedTrustManager
object WhitelistTrustManagerProvider : Provider
class WhitelistTrustManagerSpi : TrustManagerFactorySpi
class WireNodeRegistration : SignedData<NodeRegistration>
class WireTransaction : BaseTransaction
object WireTransactionSerializer
class WiredTransactionGenerator
data class WorldCoordinate
object X509Utilities
Module Contents
data class CACertAndKey
val CORDA_CLIENT_CA: String
val CORDA_CLIENT_CA_PRIVATE_KEY: String
val CORDA_INTERMEDIATE_CA: String
val CORDA_INTERMEDIATE_CA_PRIVATE_KEY: String
val CORDA_ROOT_CA: String
val CORDA_ROOT_CA_PRIVATE_KEY: String
val ECDSA_CURVE: String
val KEYSTORE_TYPE: String
val KEY_GENERATION_ALGORITHM: String
val SIGNATURE_ALGORITHM: String
fun KeyStore.addOrReplaceCertificate(alias: String, cert: Certificate): Unit
fun KeyStore.addOrReplaceKey(alias: String, key: Key, password: CharArray, chain: Array<Certificate>): Unit
fun createCAKeyStoreAndTrustStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, trustStoreFilePath: Path, trustStorePassword: String): KeyStore
fun createCertificateSigningRequest(myLegalName: String, nearestCity: String, email: String, keyPair: KeyPair): <ERROR CLASS>
fun createIntermediateCert(domain: String, certificateAuthority: CACertAndKey): CACertAndKey
fun createKeystoreForSSL(: Path, : String, : String, : KeyStore, : String): KeyStore
fun createSelfSignedCACert(myLegalName: String): CACertAndKey
fun createServerCert(subject: <ERROR CLASS>, publicKey: PublicKey, certificateAuthority: CACertAndKey, subjectAlternativeNameDomains: List<String>, subjectAlternativeNameIps: List<String>): X509Certificate
fun generateECDSAKeyPairForSSL(): KeyPair
fun getDevX509Name(domain: String): <ERROR CLASS>
fun getX509Name(myLegalName: String, nearestCity: String, email: String): <ERROR CLASS>
fun loadCertificateAndKey(keyStore: KeyStore, keyPassword: String, alias: String): CACertAndKey
fun loadCertificateFromKeyStore(keyStoreFilePath: Path, storePassword: String, alias: String): X509Certificate
fun loadCertificateFromPEMFile(filename: Path): X509Certificate
fun loadKeyPairFromKeyStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, alias: String): KeyPair
fun loadKeyStore(keyStoreFilePath: Path, storePassword: String): KeyStore
fun loadKeyStore(input: InputStream, storePassword: String): KeyStore
fun loadOrCreateKeyPairFromKeyStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, alias: String, keyGenerator: () -> CACertAndKey): KeyPair
fun loadOrCreateKeyStore(keyStoreFilePath: Path, storePassword: String): KeyStore
fun saveCertificateAsPEMFile(x509Certificate: X509Certificate, filename: Path): Unit
fun saveKeyStore(keyStore: KeyStore, keyStoreFilePath: Path, storePassword: String): Unit
java.nio.file.Path
java.security.KeyPair
java.security.PrivateKey
java.security.PublicKey
java.time.Clock
Module Contents
fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = GuavaSettableFuture.create<Any>()): Boolean
java.time.LocalDate
java.time.temporal.Temporal
java.util.Currency
javafx.beans.value.ObservableValue
javafx.collections.ObservableList
Module Contents
fun <K, A, B> ObservableList<out A>.associateBy(toKey: (A) -> K, assemble: (K, A) -> B): ObservableMap<K, B>
fun <K, A> ObservableList<out A>.associateBy(toKey: (A) -> K): ObservableMap<K, A>
fun <K : Any, A : Any, B> ObservableList<out A>.associateByAggregation(toKey: (A) -> K, assemble: (K, A) -> B): ObservableMap<K, ObservableList<B>>
fun <K : Any, A : Any> ObservableList<out A>.associateByAggregation(toKey: (A) -> K): ObservableMap<K, ObservableList<A>>
fun <A> ObservableList<ObservableList<A>>.concatenate(): ObservableList<A>
fun <A> ObservableList<out A>.filter(predicate: ObservableValue<(A) -> Boolean>): ObservableList<A>
fun <A> ObservableList<out A?>.filterNotNull(): ObservableList<A>
fun <A> ObservableList<A>.first(): ObservableValue<A?>
fun <A> ObservableList<out ObservableValue<out A>>.flatten(): ObservableList<A>
fun <A, B> ObservableList<out A>.foldObservable(initial: B, folderFunction: (B, A) -> B): ObservableValue<B>
fun <A> ObservableList<A>.getValueAt(index: Int): ObservableValue<A?>
fun <A> ObservableList<A>.last(): ObservableValue<A?>
fun <A : Any, B : Any, C, K : Any> ObservableList<A>.leftOuterJoin(rightTable: ObservableList<B>, leftToJoinKey: (A) -> K, rightToJoinKey: (B) -> K, assemble: (A, ObservableList<B>) -> C): ObservableList<C>
fun <A : Any, B : Any, K : Any> ObservableList<A>.leftOuterJoin(rightTable: ObservableList<B>, leftToJoinKey: (A) -> K, rightToJoinKey: (B) -> K): ObservableMap<K, <ERROR CLASS><ObservableList<A>, ObservableList<B>>>
fun <A, B> ObservableList<out A>.map(cached: Boolean = true, function: (A) -> B): ObservableList<B>
javafx.collections.ObservableMap
Module Contents
fun <A, K> ObservableMap<K, A>.createMapChange(key: K, removedValue: A?, addedValue: A?): Change<K, A>
fun <K, V> ObservableMap<K, V>.getObservableEntries(): ObservableList<Entry<K, V>>
fun <K, V> ObservableMap<K, V>.getObservableValue(key: K): ObservableValue<V?>
fun <K, V> ObservableMap<K, V>.getObservableValues(): ObservableList<V>
kotlin.ByteArray
kotlin.ByteArray
kotlin.Double
kotlin.Double
kotlin.Function1
kotlin.Function2
kotlin.Function3
kotlin.Function4
Module Contents
fun <A, B, C, D, R> (A, B, C, D) -> R.lift(arg0: ObservableValue<A>, arg1: ObservableValue<B>, arg2: ObservableValue<C>, arg3: ObservableValue<D>): ObservableValue<R>
kotlin.Int
kotlin.Int
kotlin.Int
kotlin.Long
kotlin.String
kotlin.String
kotlin.String
kotlin.Throwable
kotlin.collections.Collection
kotlin.collections.Collection
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.List
package com.r3corda.client
package com.r3corda.client.fxutils
Module Contents
class AggregatedList<A, E : Any, K : Any> : TransformationList<A, E>
object AmountBindings
class AssociatedList<K, out A, B> : ReadOnlyBackedObservableMapBase<K, B, Unit>
class ChosenList<E> : ObservableListBase<E>
class ConcatenatedList<A> : TransformationList<A, ObservableList<A>>
class FlattenedList<A> : TransformationList<A, ObservableValue<out A>>
class LeftOuterJoinedMap<K : Any, A, B, C> : ReadOnlyBackedObservableMapBase<K, C, SimpleObjectProperty<B?>>
class MapValuesList<K, A, C> : ObservableList<C>
class MappedList<A, B> : TransformationList<B, A>
open class ReadOnlyBackedObservableMapBase<K, A, B> : ObservableMap<K, A>
class ReplayedList<A> : TransformationList<A, A>
fun <A, B, C> <ERROR CLASS><A>.foldToObservableList(initialAccumulator: C, folderFun: (A, C, ObservableList<B>) -> C): ObservableList<B>
fun <A, B, K, C> <ERROR CLASS><A>.foldToObservableMap(initialAccumulator: C, folderFun: (A, C, ObservableMap<K, B>) -> C): ObservableMap<K, out B>
fun <A, B> <ERROR CLASS><A>.foldToObservableValue(initial: B, folderFun: (A, B) -> B): ObservableValue<B>
javafx.beans.value.ObservableValue
javafx.collections.ObservableList
Module Contents
fun <K, A, B> ObservableList<out A>.associateBy(toKey: (A) -> K, assemble: (K, A) -> B): ObservableMap<K, B>
fun <K, A> ObservableList<out A>.associateBy(toKey: (A) -> K): ObservableMap<K, A>
fun <K : Any, A : Any, B> ObservableList<out A>.associateByAggregation(toKey: (A) -> K, assemble: (K, A) -> B): ObservableMap<K, ObservableList<B>>
fun <K : Any, A : Any> ObservableList<out A>.associateByAggregation(toKey: (A) -> K): ObservableMap<K, ObservableList<A>>
fun <A> ObservableList<ObservableList<A>>.concatenate(): ObservableList<A>
fun <A> ObservableList<out A>.filter(predicate: ObservableValue<(A) -> Boolean>): ObservableList<A>
fun <A> ObservableList<out A?>.filterNotNull(): ObservableList<A>
fun <A> ObservableList<A>.first(): ObservableValue<A?>
fun <A> ObservableList<out ObservableValue<out A>>.flatten(): ObservableList<A>
fun <A, B> ObservableList<out A>.foldObservable(initial: B, folderFunction: (B, A) -> B): ObservableValue<B>
fun <A> ObservableList<A>.getValueAt(index: Int): ObservableValue<A?>
fun <A> ObservableList<A>.last(): ObservableValue<A?>
fun <A : Any, B : Any, C, K : Any> ObservableList<A>.leftOuterJoin(rightTable: ObservableList<B>, leftToJoinKey: (A) -> K, rightToJoinKey: (B) -> K, assemble: (A, ObservableList<B>) -> C): ObservableList<C>
fun <A : Any, B : Any, K : Any> ObservableList<A>.leftOuterJoin(rightTable: ObservableList<B>, leftToJoinKey: (A) -> K, rightToJoinKey: (B) -> K): ObservableMap<K, <ERROR CLASS><ObservableList<A>, ObservableList<B>>>
fun <A, B> ObservableList<out A>.map(cached: Boolean = true, function: (A) -> B): ObservableList<B>
javafx.collections.ObservableMap
Module Contents
fun <A, K> ObservableMap<K, A>.createMapChange(key: K, removedValue: A?, addedValue: A?): Change<K, A>
fun <K, V> ObservableMap<K, V>.getObservableEntries(): ObservableList<Entry<K, V>>
fun <K, V> ObservableMap<K, V>.getObservableValue(key: K): ObservableValue<V?>
fun <K, V> ObservableMap<K, V>.getObservableValues(): ObservableList<V>
kotlin.Function1
kotlin.Function2
kotlin.Function3
kotlin.Function4
Module Contents
fun <A, B, C, D, R> (A, B, C, D) -> R.lift(arg0: ObservableValue<A>, arg1: ObservableValue<B>, arg2: ObservableValue<C>, arg3: ObservableValue<D>): ObservableValue<R>
kotlin.collections.Collection
fun <A> A.lift(): ObservableValue<A>
fun <A, K> <ERROR CLASS><A>.recordAsAssociation(toKey: (A) -> K, merge: (K, A, A) -> A = { _key, _oldValue, newValue -> newValue }): ObservableMap<K, out A>
fun <A> <ERROR CLASS><A>.recordInSequence(): ObservableList<A>
package com.r3corda.client.mock
Module Contents
class EventGenerator
class Generator<out A>
Module Contents
Generator(generate: (Random) -> ErrorOr<A>)
fun <B> bind(function: (A) -> Generator<B>): Generator<Nothing>
fun <A> choice(generators: List<Generator<A>>): Generator<Nothing>
fun <B, R> combine(other1: Generator<B>, function: (A, B) -> R): Generator<R>
fun <B, C, R> combine(other1: Generator<B>, other2: Generator<C>, function: (A, B, C) -> R): Generator<R>
fun <B, C, D, R> combine(other1: Generator<B>, other2: Generator<C>, other3: Generator<D>, function: (A, B, C, D) -> R): Generator<R>
fun <B, C, D, E, R> combine(other1: Generator<B>, other2: Generator<C>, other3: Generator<D>, other4: Generator<E>, function: (A, B, C, D, E) -> R): Generator<R>
fun <A> fail(error: Exception): Generator<A>
fun <A> frequency(vararg generators: <ERROR CLASS><Double, Generator<A>>): Generator<A>
val generate: (Random) -> ErrorOr<A>
fun <A> impure(valueClosure: () -> A): Generator<A>
fun <B> map(function: (A) -> B): Generator<B>
fun <B> product(other: Generator<(A) -> B>): Generator<B>
fun <A> pure(value: A): Generator<A>
fun <A> sequence(generators: List<Generator<A>>): Generator<List<A>>
fun <A> success(generate: (Random) -> A): Generator<A>
fun Generator.Companion.double(): Generator<Double>
fun Generator.Companion.doubleRange(from: Double, to: Double): Generator<Double>
fun <A> Generator<A>.generateOrFail(random: Random, numberOfTries: Int = 1): A
fun Generator.Companion.int(): Generator<Int>
fun Generator.Companion.intRange(from: Int, to: Int): Generator<Int>
fun <A> Generator.Companion.oneOf(list: List<A>): Generator<A>
fun <A> Generator.Companion.pickOne(list: List<A>): Generator<A>
fun <A> Generator.Companion.replicate(number: Int, generator: Generator<A>): Generator<List<A>>
fun <A> Generator.Companion.replicatePoisson(meanSize: Double, generator: Generator<A>): Generator<List<A>>
fun <A> Generator.Companion.sampleBernoulli(maxRatio: Double = 1.0, vararg collection: A): <ERROR CLASS>
fun <A> Generator.Companion.sampleBernoulli(collection: Collection<A>, maxRatio: Double = 1.0): Generator<List<A>>
package com.r3corda.client.model
Module Contents
class ContractStateModel
data class Diff<out T : ContractState>
interface ExchangeRate
class ExchangeRateModel
data class GatheredTransactionData
class GatheredTransactionDataModel
object Models
class NodeMonitorModel
data class PartiallyResolvedTransaction
data class ProgressTrackingEvent
data class ProtocolStatus
data class StateMachineData
sealed class StateMachineStatus
sealed class TrackedDelegate<M : Any>
Module Contents
class EventSinkDelegate<M : Any, T> : TrackedDelegate<M>
class EventStreamDelegate<M : Any, T> : TrackedDelegate<M>
class ObjectPropertyDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableListDelegate<M : Any, T> : TrackedDelegate<M>
class ObservableListReadOnlyDelegate<M : Any, out T> : TrackedDelegate<M>
class ObservableValueDelegate<M : Any, T> : TrackedDelegate<M>
class ObserverDelegate<M : Any, T> : TrackedDelegate<M>
class SubjectDelegate<M : Any, T> : TrackedDelegate<M>
class WritableValueDelegate<M : Any, T> : TrackedDelegate<M>
val klass: KClass<M>
sealed class TransactionCreateStatus
inline fun <reified M : Any, T> eventSink(noinline sinkProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>
inline fun <reified M : Any, T> eventStream(noinline streamProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>
fun ExchangeRate.exchangeAmount(amount: Amount<Currency>, to: Currency): Amount<Currency>
fun ExchangeRate.exchangeDouble(amount: Amount<Currency>, to: Currency): Double
inline fun <reified M : Any, T> objectProperty(noinline objectProperty: (M) -> ObjectProperty<T>): ObjectPropertyDelegate<M, T>
inline fun <reified M : Any, T> observable(noinline observableProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>
inline fun <reified M : Any, T> observableList(noinline observableListProperty: (M) -> ObservableList<T>): ObservableListDelegate<M, T>
inline fun <reified M : Any, T> observableListReadOnly(noinline observableListProperty: (M) -> ObservableList<out T>): ObservableListReadOnlyDelegate<M, T>
inline fun <reified M : Any, T> observableValue(noinline observableValueProperty: (M) -> ObservableValue<T>): ObservableValueDelegate<M, T>
inline fun <reified M : Any, T> observer(noinline observerProperty: (M) -> <ERROR CLASS><T>): <ERROR CLASS>
inline fun <reified M : Any, T> subject(noinline subjectProperty: (M) -> <ERROR CLASS><T, T>): <ERROR CLASS>
inline fun <reified M : Any, T> writableValue(noinline writableValueProperty: (M) -> WritableValue<T>): WritableValueDelegate<M, T>
package com.r3corda.contracts
Module Contents
val CP_LEGACY_PROGRAM_ID: CommercialPaperLegacy
val CP_PROGRAM_ID: CommercialPaper
class CommercialPaper : Contract
class CommercialPaperLegacy : Contract
open class Event
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
Module Contents
FloatingRatePaymentEvent(date: LocalDate, accrualStartDate: LocalDate, accrualEndDate: LocalDate, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, fixingDate: LocalDate, notional: Amount<Currency>, rate: Rate)
val CSVHeader: String
fun asCSV(): String
fun copy(date: LocalDate = this.date, accrualStartDate: LocalDate = this.accrualStartDate, accrualEndDate: LocalDate = this.accrualEndDate, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, fixingDate: LocalDate = this.fixingDate, notional: Amount<Currency> = this.notional, rate: Rate = this.rate): FloatingRatePaymentEvent
fun equals(other: Any?): Boolean
val fixingDate: LocalDate
val flow: Amount<Currency>
fun hashCode(): Int
fun toString(): String
fun withNewRate(newRate: Rate): FloatingRatePaymentEvent
val IRS_PROGRAM_ID: InterestRateSwap
class InterestRateSwap : Contract
Module Contents
InterestRateSwap()
data class Calculation
interface Clauses
interface Commands : CommandData
data class Common
Module Contents
Common(baseCurrency: Currency, eligibleCurrency: Currency, eligibleCreditSupport: String, independentAmounts: Amount<Currency>, threshold: Amount<Currency>, minimumTransferAmount: Amount<Currency>, rounding: Amount<Currency>, valuationDateDescription: String, notificationTime: String, resolutionTime: String, interestRate: ReferenceRate, addressForTransfers: String, exposure: UnknownType, localBusinessDay: BusinessCalendar, dailyInterestAmount: Expression, tradeID: String, hashLegalDocs: String)
val addressForTransfers: String
val baseCurrency: Currency
val dailyInterestAmount: Expression
val eligibleCreditSupport: String
val eligibleCurrency: Currency
val exposure: UnknownType
val hashLegalDocs: String
val independentAmounts: Amount<Currency>
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount<Currency>
val notificationTime: String
val resolutionTime: String
val rounding: Amount<Currency>
val threshold: Amount<Currency>
val tradeID: String
val valuationDateDescription: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
val dayCountBasisDay: DayCountBasisDay
val dayCountBasisYear: DayCountBasisYear
val dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
val interestPeriodAdjustment: AccrualAdjustment
val notional: Amount<Currency>
val paymentCalendar: BusinessCalendar
val paymentDelay: Int
val paymentFrequency: Frequency
val paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, fixedRate: FixedRate, rollConvention: DateRollConvention)
fun copy(fixedRatePayer: Party = this.fixedRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, fixedRate: FixedRate = this.fixedRate): FixedLeg
open fun equals(other: Any?): Boolean
var fixedRate: FixedRate
var fixedRatePayer: Party
open fun hashCode(): Int
var rollConvention: DateRollConvention
open fun toString(): String
class FloatingLeg : CommonLeg
Module Contents
FloatingLeg(floatingRatePayer: Party, notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, rollConvention: DateRollConvention, fixingRollConvention: DateRollConvention, resetDayInMonth: Int, fixingPeriodOffset: Int, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
fun copy(floatingRatePayer: Party = this.floatingRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, rollConvention: DateRollConvention = this.rollConvention, fixingRollConvention: DateRollConvention = this.fixingRollConvention, resetDayInMonth: Int = this.resetDayInMonth, fixingPeriod: Int = this.fixingPeriodOffset, resetRule: PaymentRule = this.resetRule, fixingsPerPayment: Frequency = this.fixingsPerPayment, fixingCalendar: BusinessCalendar = this.fixingCalendar, index: String = this.index, indexSource: String = this.indexSource, indexTenor: Tenor = this.indexTenor): FloatingLeg
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriodOffset: Int
var fixingRollConvention: DateRollConvention
var fixingsPerPayment: Frequency
var floatingRatePayer: Party
open fun hashCode(): Int
var index: String
var indexSource: String
var indexTenor: Tenor
var resetDayInMonth: Int
var resetRule: PaymentRule
var rollConvention: DateRollConvention
open fun toString(): String
data class State : FixableDealState, SchedulableState
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common, notary: Party): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: Fix): Unit
val legalContractReference: <ERROR CLASS>
val oracleType: ServiceType
fun verify(tx: TransactionForContract): Unit
abstract class PaymentEvent : Event
open class PercentageRatioUnit : RatioUnit
open class Rate
abstract class RatePaymentEvent : PaymentEvent
open class RatioUnit
class ReferenceRate : FloatingRate
open class UnknownType
fun State.exportIRSToCSV(): String
kotlin.Int
kotlin.String
infix fun State.owned by(owner: PublicKey): State
infix fun <ERROR CLASS>.owned by(newOwner: PublicKey): <ERROR CLASS>
operator fun Amount<Currency>.times(other: RatioUnit): Amount<Currency>
infix fun State.with notary(notary: Party): TransactionState<State>
package com.r3corda.contracts.asset
Module Contents
val Amount<Currency>.CASH: State
val CASH_PROGRAM_ID: Cash
val COMMODITY_PROGRAM_ID: CommodityContract
class Cash : OnLedgerAsset<Currency, Commands, State>
Module Contents
Cash()
interface Clauses
interface Commands : Commands
data class State : FungibleAsset<Currency>, QueryableState
val conserveClause: AbstractConserveAmount<State, Commands, Currency>
fun deriveState(txState: TransactionState<State>, amount: Amount<Issued<Currency>>, owner: PublicKey): TransactionState<State>
fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): List<AuthenticatedObject<Commands>>
fun generateExitCommand(amount: Amount<Issued<Currency>>): Exit
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Currency>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, owner: PublicKey, notary: Party): Unit
fun generateIssueCommand(): Issue
fun generateMoveCommand(): Move
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
class CommodityContract : OnLedgerAsset<Commodity, Commands, State>
Module Contents
CommodityContract()
interface Clauses
interface Commands : Commands
data class State : FungibleAsset<Commodity>
val conserveClause: AbstractConserveAmount<State, Commands, Commodity>
fun deriveState(txState: TransactionState<State>, amount: Amount<Issued<Commodity>>, owner: PublicKey): TransactionState<State>
fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): List<AuthenticatedObject<Commands>>
fun generateExitCommand(amount: Amount<Issued<Commodity>>): Exit
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Commodity>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Commodity>>, owner: PublicKey, notary: Party): Unit
fun generateIssueCommand(): Issue
fun generateMoveCommand(): Move
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
val DUMMY_CASH_ISSUER: <ERROR CLASS>
val DUMMY_CASH_ISSUER_KEY: <ERROR CLASS>
val DUMMY_OBLIGATION_ISSUER: <ERROR CLASS>
val DUMMY_OBLIGATION_ISSUER_KEY: <ERROR CLASS>
interface FungibleAsset<T> : OwnableState
class InsufficientBalanceException : Exception
val Amount<Issued<Currency>>.OBLIGATION: State<Currency>
val Issued<Currency>.OBLIGATION_DEF: Terms<Currency>
val OBLIGATION_PROGRAM_ID: Obligation<Currency>
class Obligation<P> : Contract
Module Contents
Obligation()
interface Clauses
Module Contents
class ConserveAmount<P> : AbstractConserveAmount<State<P>, Commands, Terms<P>>
class Group<P> : GroupClauseVerifier<State<P>, Commands, Issued<Terms<P>>>
class Issue<P> : AbstractIssue<State<P>, Commands, Terms<P>>
class Net<C : CommandData, P> : NetClause<C, P>
class SetLifecycle<P> : Clause<State<P>, Commands, Issued<Terms<P>>>
class Settle<P> : Clause<State<P>, Commands, Issued<Terms<P>>>
class VerifyLifecycle<S : ContractState, C : CommandData, T : Any, P> : Clause<S, C, T>
interface Commands : Commands
enum class Lifecycle
data class State<P> : FungibleAsset<Terms<P>>, NettableState<State<P>, MultilateralNetState<P>>
data class Terms<P>
fun generateCloseOutNetting(tx: TransactionBuilder, signer: PublicKey, vararg states: State<P>): Unit
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<Terms<P>>>, assetStates: List<StateAndRef<State<P>>>): PublicKey
fun generateIssue(tx: TransactionBuilder, obligor: Party, issuanceDef: Terms<P>, pennies: Long, beneficiary: PublicKey, notary: Party): Unit
fun generatePaymentNetting(tx: TransactionBuilder, issued: Issued<Terms<P>>, notary: Party, vararg states: State<P>): Unit
fun generateSetLifecycle(tx: TransactionBuilder, statesAndRefs: List<StateAndRef<State<P>>>, lifecycle: Lifecycle, notary: Party): Unit
fun generateSettle(tx: TransactionBuilder, statesAndRefs: Iterable<StateAndRef<State<P>>>, assetStatesAndRefs: Iterable<StateAndRef<FungibleAsset<P>>>, moveCommand: MoveCommand, notary: Party): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
abstract class OnLedgerAsset<T : Any, C : CommandData, S : FungibleAsset<T>> : Contract
Module Contents
OnLedgerAsset()
abstract val conserveClause: AbstractConserveAmount<S, C, T>
abstract fun deriveState(txState: TransactionState<S>, amount: Amount<Issued<T>>, owner: PublicKey): TransactionState<S>
abstract fun extractCommands(commands: Collection<AuthenticatedObject<CommandData>>): Collection<AuthenticatedObject<C>>
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<T>>, assetStates: List<StateAndRef<S>>): PublicKey
abstract fun generateExitCommand(amount: Amount<Issued<T>>): Exit<T>
abstract fun generateIssueCommand(): Issue
abstract fun generateMoveCommand(): Move
fun generateSpend(tx: TransactionBuilder, amount: Amount<T>, to: PublicKey, assetsStates: List<StateAndRef<S>>, onlyFromParties: Set<Party>? = null): List<PublicKey>
val Amount<Issued<Currency>>.STATE: State
infix fun <T> State<T>.at(dueBefore: Instant): State<T>
infix fun <T> State<T>.between(parties: <ERROR CLASS><Party, PublicKey>): State<T>
val Vault.cashBalances: Map<Currency, Amount<Currency>>
fun <P> extractAmountsDue(: Terms<P>, : Iterable<State<P>>): Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<Terms<P>>>
infix fun State.issued by(party: Party): State
infix fun State.issued by(deposit: PartyAndReference): State
infix fun <T> State<T>.issued by(party: Party): State<T>
fun State.issuedBy(party: Party): State
fun State.issuedBy(deposit: PartyAndReference): State
fun <T> State<T>.issuedBy(party: Party): State<T>
kotlin.collections.Iterable
fun <P> netAmountsDue(balances: Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>): Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>
infix fun State.owned by(owner: PublicKey): State
infix fun <T> State<T>.owned by(owner: PublicKey): State<T>
fun State.ownedBy(owner: PublicKey): State
fun <T> State<T>.ownedBy(owner: PublicKey): State<T>
fun <P> sumAmountsDue(balances: Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>): Map<PublicKey, Long>
infix fun State.with deposit(deposit: PartyAndReference): State
fun State.withDeposit(deposit: PartyAndReference): State
package com.r3corda.contracts.clause
Module Contents
abstract class AbstractConserveAmount<S : FungibleAsset<T>, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
Module Contents
AbstractConserveAmount()
fun generateExit(tx: TransactionBuilder, amountIssued: Amount<Issued<T>>, assetStates: List<StateAndRef<S>>, deriveState: (TransactionState<S>, Amount<Issued<T>>, PublicKey) -> TransactionState<S>, generateMoveCommand: () -> CommandData, generateExitCommand: (Amount<Issued<T>>) -> CommandData): PublicKey
fun generateSpend(tx: TransactionBuilder, amount: Amount<T>, to: PublicKey, assetsStates: List<StateAndRef<S>>, onlyFromParties: Set<Party>? = null, deriveState: (TransactionState<S>, Amount<Issued<T>>, PublicKey) -> TransactionState<S>, generateMoveCommand: () -> CommandData): List<PublicKey>
open fun toString(): String
open fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: Issued<T>?): Set<C>
abstract class AbstractIssue<in S : ContractState, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
data class BilateralNetState<P> : NetState<P>
data class MultilateralNetState<P> : NetState<P>
open class NetClause<C : CommandData, P> : Clause<ContractState, C, Unit>
interface NetState<P>
open class NoZeroSizedOutputs<in S : FungibleAsset<T>, C : CommandData, T : Any> : Clause<S, C, Issued<T>>
package com.r3corda.contracts.testing
package com.r3corda.core
package com.r3corda.core.contracts
Module Contents
enum class AccrualAdjustment
data class Amount<T> : Comparable<Amount<T>>
interface Attachment : NamedByHash
data class AuthenticatedObject<out T : Any>
interface BilateralNettableState<N : BilateralNettableState<N>>
open class BusinessCalendar
Module Contents
val TEST_CALENDAR_DATA: <ERROR CLASS>
class UnknownCalendar : Exception
open fun applyRollConvention(testDate: LocalDate, dateRollConvention: DateRollConvention): LocalDate
val calendars: <ERROR CLASS>
fun createGenericSchedule(startDate: LocalDate, period: Frequency, calendar: BusinessCalendar = getInstance(), dateRollConvention: DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods: Int = Integer.MAX_VALUE, endDate: LocalDate? = null, periodOffset: Int? = null): List<LocalDate>
open fun equals(other: Any?): Boolean
fun getInstance(vararg calname: String): BusinessCalendar
fun getOffsetDate(startDate: LocalDate, period: Frequency, steps: Int = 1): LocalDate
open fun hashCode(): Int
val holidayDates: List<LocalDate>
open fun isWorkingDay(date: LocalDate): Boolean
fun moveBusinessDays(date: LocalDate, direction: DateRollDirection, i: Int): LocalDate
fun parseDateFromString(it: String): LocalDate
val CHF: Currency
sealed class ClientToServiceCommand
data class Command
interface CommandData
data class Commodity
interface Contract
interface ContractState
fun DOLLARS(amount: Int): Amount<Currency>
fun DOLLARS(amount: Double): Amount<Currency>
val DUMMY_PROGRAM_ID: DummyContract
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
class DummyContract : Contract
data class DummyState : ContractState
val EUR: Currency
data class Expression
object ExpressionDeserializer
object ExpressionSerializer
val FCOJ: Commodity
fun FCOJ(amount: Int): Amount<Commodity>
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
enum class Frequency
val GBP: Currency
interface IssuanceDefinition
interface IssueCommand : CommandData
data class Issued<out P>
interface LinearState : ContractState
interface MoveCommand : CommandData
interface MultilateralNettableState<out T : Any>
interface NamedByHash
interface NetCommand : CommandData
enum class NetType
interface NettableState<N : BilateralNettableState<N>, T : Any> : BilateralNettableState<N>, MultilateralNettableState<T>
interface OwnableState : ContractState
fun POUNDS(amount: Int): Amount<Currency>
data class PartyAndReference
enum class PaymentRule
val R: Requirements
class Requirements
fun SWISS_FRANCS(amount: Int): Amount<Currency>
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
data class ScheduledStateRef : Scheduled
data class StateAndRef<out T : ContractState>
data class StateRef
data class Tenor
data class Timestamp
class TransactionConflictException : Exception
data class TransactionForContract
Module Contents
TransactionForContract(inputs: List<ContractState>, outputs: List<ContractState>, attachments: List<Attachment>, commands: List<AuthenticatedObject<CommandData>>, origHash: SecureHash, inputNotary: Party? = null, timestamp: Timestamp? = null)
data class InOutGroup<out T : ContractState, out K : Any>
val attachments: List<Attachment>
val commands: List<AuthenticatedObject<CommandData>>
fun equals(other: Any?): Boolean
fun <T : ContractState, K : Any> groupStates(ofType: Class<T>, selector: (T) -> K): List<InOutGroup<T, K>>
inline fun <reified T : ContractState, K : Any> groupStates(selector: (T) -> K): List<InOutGroup<T, K>>
fun <T : ContractState, K : Any> groupStatesInternal(inGroups: Map<K, List<T>>, outGroups: Map<K, List<T>>): List<InOutGroup<T, K>>
fun hashCode(): Int
val inputNotary: Party?
val inputs: List<ContractState>
val origHash: SecureHash
val outputs: List<ContractState>
val timestamp: Timestamp?
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionResolutionException : Exception
data class TransactionState<out T : ContractState>
sealed class TransactionType
sealed class TransactionVerificationException : Exception
abstract class TypeOnlyCommandData : CommandData
val USD: Currency
data class UniqueIdentifier : Comparable<UniqueIdentifier>
fun calculateDaysBetween(startDate: LocalDate, endDate: LocalDate, dcbYear: DayCountBasisYear, dcbDay: DayCountBasisDay): Int
fun commodity(code: String): Commodity
fun currency(code: String): Currency
fun ContractState.hash(): SecureHash
infix fun Commodity.issued by(deposit: PartyAndReference): Issued<Commodity>
infix fun Amount<Currency>.issued by(deposit: PartyAndReference): Amount<Issued<Currency>>
infix fun Commodity.issuedBy(deposit: PartyAndReference): Issued<Commodity>
infix fun Amount<Currency>.issuedBy(deposit: PartyAndReference): Amount<Issued<Currency>>
java.time.LocalDate
java.util.Currency
kotlin.Double
kotlin.Int
kotlin.collections.Collection
kotlin.collections.Iterable
inline fun <R> requireThat(body: Requirements.() -> R): R
inline fun <reified T : MoveCommand> verifyMoveCommand(inputs: List<OwnableState>, tx: TransactionForContract): MoveCommand
inline fun <reified T : MoveCommand> verifyMoveCommand(inputs: List<OwnableState>, commands: List<AuthenticatedObject<CommandData>>): MoveCommand
infix fun <T : ContractState> T.with notary(newNotary: Party): TransactionState<T>
infix fun <T : ContractState> T.withNotary(newNotary: Party): TransactionState<T>
fun <T> Amount<Issued<T>>.withoutIssuer(): Amount<T>
package com.r3corda.core.contracts.clauses
Module Contents
class AllComposition<S : ContractState, C : CommandData, K : Any> : CompositeClause<S, C, K>
Module Contents
AllComposition(firstClause: Clause<S, C, K>, vararg remainingClauses: Clause<S, C, K>)
val clauses: ArrayList<Clause<S, C, K>>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
class AnyComposition<in S : ContractState, C : CommandData, in K : Any> : CompositeClause<S, C, K>
Module Contents
AnyComposition(vararg rawClauses: Clause<S, C, K>)
val clauses: List<Clause<S, C, K>>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
abstract class Clause<in S : ContractState, C : CommandData, in K : Any>
abstract class CompositeClause<in S : ContractState, C : CommandData, in K : Any> : Clause<S, C, K>
class FilterOn<S : ContractState, C : CommandData, K : Any> : Clause<ContractState, C, K>
Module Contents
FilterOn(clause: Clause<S, C, K>, filterStates: (List<ContractState>) -> List<S>)
val clause: Clause<S, C, K>
val filterStates: (List<ContractState>) -> List<S>
fun getExecutionPath(commands: List<AuthenticatedObject<C>>): List<Clause<*, *, *>>
val requiredCommands: Set<Class<out CommandData>>
fun verify(tx: TransactionForContract, inputs: List<ContractState>, outputs: List<ContractState>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
class FirstComposition<S : ContractState, C : CommandData, K : Any> : CompositeClause<S, C, K>
Module Contents
FirstComposition(firstClause: Clause<S, C, K>, vararg remainingClauses: Clause<S, C, K>)
val clauses: ArrayList<Clause<S, C, K>>
val firstClause: Clause<S, C, K>
val logger: <ERROR CLASS>
fun matchedClauses(commands: List<AuthenticatedObject<C>>): List<Clause<S, C, K>>
fun toString(): String
fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: List<AuthenticatedObject<C>>, groupingKey: K?): Set<C>
abstract class GroupClauseVerifier<S : ContractState, C : CommandData, K : Any> : Clause<ContractState, C, Unit>
Module Contents
GroupClauseVerifier(clause: Clause<S, C, K>)
val clause: Clause<S, C, K>
open fun getExecutionPath(commands: List<AuthenticatedObject<C>>): List<Clause<*, *, *>>
abstract fun groupStates(tx: TransactionForContract): List<InOutGroup<S, K>>
open fun verify(tx: TransactionForContract, inputs: List<ContractState>, outputs: List<ContractState>, commands: List<AuthenticatedObject<C>>, groupingKey: Unit?): Set<C>
fun <C : CommandData> Clause<*, C, *>.matches(commands: List<AuthenticatedObject<C>>): Boolean
fun <C : CommandData> verifyClause(tx: TransactionForContract, clause: Clause<ContractState, C, Unit>, commands: List<AuthenticatedObject<C>>): Unit
package com.r3corda.core.crypto
Module Contents
open class DigitalSignature : OpaqueBytes
class DummyPublicKey : PublicKey, Comparable<PublicKey>
object NullPublicKey : PublicKey, Comparable<PublicKey>
object NullSignature : WithKey
data class Party
sealed class PublicKeyTree
sealed class SecureHash : OpaqueBytes
open class SignedData<T : Any>
class WhitelistTrustManager : X509ExtendedTrustManager
Module Contents
WhitelistTrustManager(originalProvider: X509ExtendedTrustManager)
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String, socket: Socket?): Unit
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?): Unit
fun checkClientTrusted(chain: Array<out X509Certificate>, authType: String): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, socket: Socket?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String): Unit
val checker: HostnameChecker
fun getAcceptedIssuers(): Array<out X509Certificate>
val originalProvider: X509ExtendedTrustManager
object WhitelistTrustManagerProvider : Provider
class WhitelistTrustManagerSpi : TrustManagerFactorySpi
object X509Utilities
Module Contents
data class CACertAndKey
val CORDA_CLIENT_CA: String
val CORDA_CLIENT_CA_PRIVATE_KEY: String
val CORDA_INTERMEDIATE_CA: String
val CORDA_INTERMEDIATE_CA_PRIVATE_KEY: String
val CORDA_ROOT_CA: String
val CORDA_ROOT_CA_PRIVATE_KEY: String
val ECDSA_CURVE: String
val KEYSTORE_TYPE: String
val KEY_GENERATION_ALGORITHM: String
val SIGNATURE_ALGORITHM: String
fun KeyStore.addOrReplaceCertificate(alias: String, cert: Certificate): Unit
fun KeyStore.addOrReplaceKey(alias: String, key: Key, password: CharArray, chain: Array<Certificate>): Unit
fun createCAKeyStoreAndTrustStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, trustStoreFilePath: Path, trustStorePassword: String): KeyStore
fun createCertificateSigningRequest(myLegalName: String, nearestCity: String, email: String, keyPair: KeyPair): <ERROR CLASS>
fun createIntermediateCert(domain: String, certificateAuthority: CACertAndKey): CACertAndKey
fun createKeystoreForSSL(: Path, : String, : String, : KeyStore, : String): KeyStore
fun createSelfSignedCACert(myLegalName: String): CACertAndKey
fun createServerCert(subject: <ERROR CLASS>, publicKey: PublicKey, certificateAuthority: CACertAndKey, subjectAlternativeNameDomains: List<String>, subjectAlternativeNameIps: List<String>): X509Certificate
fun generateECDSAKeyPairForSSL(): KeyPair
fun getDevX509Name(domain: String): <ERROR CLASS>
fun getX509Name(myLegalName: String, nearestCity: String, email: String): <ERROR CLASS>
fun loadCertificateAndKey(keyStore: KeyStore, keyPassword: String, alias: String): CACertAndKey
fun loadCertificateFromKeyStore(keyStoreFilePath: Path, storePassword: String, alias: String): X509Certificate
fun loadCertificateFromPEMFile(filename: Path): X509Certificate
fun loadKeyPairFromKeyStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, alias: String): KeyPair
fun loadKeyStore(keyStoreFilePath: Path, storePassword: String): KeyStore
fun loadKeyStore(input: InputStream, storePassword: String): KeyStore
fun loadOrCreateKeyPairFromKeyStore(keyStoreFilePath: Path, storePassword: String, keyPassword: String, alias: String, keyGenerator: () -> CACertAndKey): KeyPair
fun loadOrCreateKeyStore(keyStoreFilePath: Path, storePassword: String): KeyStore
fun saveCertificateAsPEMFile(x509Certificate: X509Certificate, filename: Path): Unit
fun saveKeyStore(keyStore: KeyStore, keyStoreFilePath: Path, storePassword: String): Unit
val ed25519Curve: <ERROR CLASS>
fun entropyToKeyPair(entropy: BigInteger): KeyPair
fun generateKeyPair(): KeyPair
java.security.KeyPair
java.security.PrivateKey
java.security.PublicKey
kotlin.ByteArray
kotlin.collections.Iterable
fun newSecureRandom(): SecureRandom
fun parsePublicKeyBase58(base58String: String): <ERROR CLASS>
fun registerWhitelistTrustManager(): Unit
fun OpaqueBytes.sha256(): SHA256
package com.r3corda.core.math
package com.r3corda.core.messaging
Module Contents
object Ack : DeserializeAsKotlinObjectDef
interface AllPossibleRecipients : MessageRecipients
interface Message
interface MessageHandlerRegistration
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
interface MessagingService
Module Contents
abstract fun addMessageHandler(topic: String = "", sessionID: Long = DEFAULT_SESSION_ID, executor: Executor? = null, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
abstract fun addMessageHandler(topicSession: TopicSession, executor: Executor? = null, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
abstract fun createMessage(topicSession: TopicSession, data: ByteArray, uuid: UUID = UUID.randomUUID()): Message
abstract val myAddress: SingleMessageRecipient
abstract fun removeMessageHandler(registration: MessageHandlerRegistration): Unit
abstract fun send(message: Message, target: MessageRecipients): Unit
interface SingleMessageRecipient : MessageRecipients
data class TopicSession
object TopicStringValidator
fun MessagingService.createMessage(topic: String, sessionID: Long = DEFAULT_SESSION_ID, data: ByteArray): Message
fun <M : Any> MessagingService.onNext(topic: String, sessionId: Long, executor: Executor? = null): <ERROR CLASS><M>
fun MessagingService.runOnNextMessage(topic: String, sessionID: Long, executor: Executor? = null, callback: (Message) -> Unit): Unit
inline fun MessagingService.runOnNextMessage(topicSession: TopicSession, executor: Executor? = null, crossinline callback: (Message) -> Unit): Unit
fun MessagingService.send(topic: String, sessionID: Long, payload: Any, to: MessageRecipients, uuid: UUID = UUID.randomUUID()): Unit
fun MessagingService.send(topicSession: TopicSession, payload: Any, to: MessageRecipients, uuid: UUID = UUID.randomUUID()): Unit
package com.r3corda.core.node
package com.r3corda.core.node.services
package com.r3corda.core.protocols
package com.r3corda.core.schemas
package com.r3corda.core.serialization
package com.r3corda.core.testing
package com.r3corda.core.transactions
Module Contents
abstract class BaseTransaction : NamedByHash
class LedgerTransaction : BaseTransaction
data class SignedTransaction : NamedByHash
open class TransactionBuilder
Module Contents
TransactionBuilder(type: TransactionType = TransactionType.General(), notary: Party? = null, inputs: MutableList<StateRef> = arrayListOf(), attachments: MutableList<SecureHash> = arrayListOf(), outputs: MutableList<TransactionState<ContractState>> = arrayListOf(), commands: MutableList<Command> = arrayListOf(), signers: MutableSet<PublicKey> = mutableSetOf(), timestamp: Timestamp? = null)
fun addAttachment(attachmentId: SecureHash): Unit
fun addCommand(arg: Command): Unit
fun addCommand(data: CommandData, vararg keys: PublicKey): <ERROR CLASS>
fun addCommand(data: CommandData, keys: List<PublicKey>): Unit
open fun addInputState(stateAndRef: StateAndRef<*>): Unit
fun addOutputState(state: TransactionState<*>): Int
fun addOutputState(state: ContractState, notary: Party): Int
fun addOutputState(state: ContractState): Int
fun addSignatureUnchecked(sig: WithKey): TransactionBuilder
fun attachments(): List<SecureHash>
protected val attachments: MutableList<SecureHash>
fun checkAndAddSignature(sig: WithKey): Unit
fun checkSignature(sig: WithKey): Unit
fun commands(): List<Command>
protected val commands: MutableList<Command>
fun copy(): TransactionBuilder
protected val currentSigs: <ERROR CLASS>
fun inputStates(): List<StateRef>
protected val inputs: MutableList<StateRef>
var notary: Party?
fun outputStates(): List<TransactionState<*>>
protected val outputs: MutableList<TransactionState<ContractState>>
fun setTime(time: Instant, timeTolerance: Duration): Unit
fun setTime(newTimestamp: Timestamp): Unit
fun signWith(key: KeyPair): TransactionBuilder
protected val signers: MutableSet<PublicKey>
val time: Timestamp?
protected var timestamp: Timestamp?
fun toSignedTransaction(checkSufficientSignatures: Boolean = true): SignedTransaction
fun toWireTransaction(): WireTransaction
protected val type: TransactionType
fun withItems(vararg items: Any): TransactionBuilder
class WireTransaction : BaseTransaction
package com.r3corda.core.utilities
package com.r3corda.demos
package com.r3corda.demos.api
package com.r3corda.demos.attachment
package com.r3corda.demos.protocols
package com.r3corda.demos.utilities
package com.r3corda.node
package com.r3corda.node.api
Module Contents
interface APIServer
Module Contents
abstract fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
abstract fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
abstract fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
abstract fun fetchStates(states: List<StateRef>): Map<StateRef, TransactionState<ContractState>?>
abstract fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
abstract fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
abstract fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
abstract fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
abstract fun queryStates(query: StatesQuery): List<StateRef>
abstract fun serverTime(): LocalDateTime
abstract fun status(): <ERROR CLASS>
data class ContractClassRef : ContractDefRef
interface ContractDefRef
data class ContractLedgerRef : ContractDefRef
data class ProtocolClassRef : ProtocolRef
data class ProtocolInstanceRef
interface ProtocolRef
data class ProtocolRequiringAttention
interface StatesQuery
data class TransactionBuildStep
package com.r3corda.node.driver
Module Contents
class DriverDSL : DriverDSLInternalInterface
interface DriverDSLExposedInterface
interface DriverDSLInternalInterface : DriverDSLExposedInterface
sealed class PortAllocation
fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit
fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit
fun <A> driver(baseDirectory: String = "build/${getTimestampAsDirectoryName()}", portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), isDebug: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A
fun <DI : DriverDSLExposedInterface, D : DriverDSLInternalInterface, A> genericDriver(driverDsl: D, coerce: (D) -> DI, dsl: DI.() -> A): A
fun <A> poll(pollName: String, pollIntervalMs: Long = 500, warnCount: Int = 120, f: () -> A?): A
fun DriverDSLExposedInterface.startClient(localServer: ArtemisMessagingServer): Future<NodeMessagingClient>
fun DriverDSLExposedInterface.startClient(remoteNodeInfo: NodeInfo, providedName: String? = null): Future<NodeMessagingClient>
fun writeConfig(path: Path, filename: String, config: <ERROR CLASS>): Unit
package com.r3corda.node.internal
Module Contents
class APIServerImpl : APIServer
Module Contents
APIServerImpl(node: AbstractNode)
fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
fun fetchStates(states: List<StateRef>): Map<StateRef, TransactionState<ContractState>?>
fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
fun status(): <ERROR CLASS>
abstract class AbstractNode : SingletonSerializeAsToken
class ConfigurationException : Exception
class Node : AbstractNode
class ServerRPCOps : CordaRPCOps
package com.r3corda.node.serialization
package com.r3corda.node.services
package com.r3corda.node.services.api
package com.r3corda.node.services.clientapi
package com.r3corda.node.services.config
package com.r3corda.node.services.events
package com.r3corda.node.services.identity
package com.r3corda.node.services.keys
package com.r3corda.node.services.messaging
Module Contents
abstract class ArtemisMessagingComponent : SingletonSerializeAsToken
class ArtemisMessagingServer : ArtemisMessagingComponent
data class ClientRPCRequestMessage
interface CordaRPCOps : RPCOps
data class MarshalledObservation
class NodeMessagingClient : ArtemisMessagingComponent, MessagingServiceInternal
Module Contents
NodeMessagingClient(config: NodeConfiguration, serverHostPort: <ERROR CLASS>, myIdentity: PublicKey?, executor: AffinityExecutor, persistentInbox: Boolean = true, persistenceTx: (() -> Unit) -> Unit = { it() })
data class Handler : MessageHandlerRegistration
val SESSION_ID_PROPERTY: String
val TOPIC_PROPERTY: String
fun addMessageHandler(topic: String, sessionID: Long, executor: Executor?, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
fun addMessageHandler(topicSession: TopicSession, executor: Executor?, callback: (Message, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
fun createMessage(topicSession: TopicSession, data: ByteArray, uuid: UUID): Message
var dispatcher: RPCDispatcher?
val executor: AffinityExecutor
val log: <ERROR CLASS>
fun makeNetworkMapAddress(hostAndPort: <ERROR CLASS>): SingleMessageRecipient
val myAddress: SingleMessageRecipient
val myIdentity: PublicKey?
val persistenceTx: (() -> Unit) -> Unit
val persistentInbox: Boolean
fun removeMessageHandler(registration: MessageHandlerRegistration): Unit
fun run(): Unit
fun send(message: Message, target: MessageRecipients): Unit
val serverHostPort: <ERROR CLASS>
fun start(rpcOps: CordaRPCOps? = null): Unit
fun stop(): Unit
abstract class RPCDispatcher
open class RPCException : RuntimeException
interface RPCOps
@Target([AnnotationTarget.FUNCTION]) annotation class RPCReturnsObservables
@Target([AnnotationTarget.FUNCTION]) annotation class RPCSinceVersion
data class StateMachineInfo
sealed class StateMachineUpdate
sealed class TransactionBuildResult
fun createRPCKryo(observableSerializer: <ERROR CLASS><<ERROR CLASS><Any>>? = null): <ERROR CLASS>
val rpcLog: <ERROR CLASS>
fun <ERROR CLASS>.toRPCRequestMessage(): ClientRPCRequestMessage
package com.r3corda.node.services.network
package com.r3corda.node.services.persistence
package com.r3corda.node.services.schema
package com.r3corda.node.services.statemachine
package com.r3corda.node.services.transactions
package com.r3corda.node.services.vault
package com.r3corda.node.servlets
package com.r3corda.node.utilities
Module Contents
class ANSIProgressObserver
object ANSIProgressRenderer
abstract class AbstractJDBCHashMap<K : Any, V : Any, out T : JDBCHashedTable> : MutableMap<K, V>, AbstractMap<K, V>
abstract class AbstractJDBCHashSet<K : Any, out T : JDBCHashedTable> : MutableSet<K>, AbstractSet<K>
enum class AddOrRemove
interface AffinityExecutor : Executor
class FiberBox<out T>
class JDBCHashMap<K : Any, V : Any> : AbstractJDBCHashMap<K, V, BlobMapTable>
class JDBCHashSet<K : Any> : AbstractJDBCHashSet<K, BlobSetTable>
open class JDBCHashedTable
object JsonSupport
object LocalDateColumnType
abstract class MutableClock : Clock
const val NODE_DATABASE_PREFIX: String
data class PartyColumns
object PublicKeyColumnType
object SecureHashColumnType
data class StateRefColumns
class StrandLocalTransactionManager
object UUIDStringColumnType
fun <T : Any> bytesFromBlob(blob: Blob): SerializedBytes<T>
fun bytesToBlob(value: SerializedBytes<*>, finalizables: MutableList<() -> Unit>): Blob
fun configureDatabase(props: Properties): <ERROR CLASS><Closeable, <ERROR CLASS>>
fun createDatabaseTransaction(db: <ERROR CLASS>): <ERROR CLASS>
fun <T> databaseTransaction(db: <ERROR CLASS>, statement: <ERROR CLASS>.() -> T): T
fun <T : Any> deserializeFromBlob(blob: Blob): T
fun <T> isolatedTransaction(database: <ERROR CLASS>, block: <ERROR CLASS>.() -> T): T
java.time.Clock
Module Contents
fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = GuavaSettableFuture.create<Any>()): Boolean
fun <ERROR CLASS>.localDate(name: String): <ERROR CLASS>
fun <ERROR CLASS>.party(nameColumnName: String, keyColumnName: String): <ERROR CLASS>
fun <ERROR CLASS>.publicKey(name: String): <ERROR CLASS>
fun <ERROR CLASS>.secureHash(name: String): <ERROR CLASS>
fun serializeToBlob(value: Any, finalizables: MutableList<() -> Unit>): Blob
fun <ERROR CLASS>.stateRef(txIdColumnName: String, indexColumnName: String): <ERROR CLASS>
fun <ERROR CLASS>.uuidString(name: String): <ERROR CLASS>
package com.r3corda.node.utilities.certsigning
package com.r3corda.protocols
package com.r3corda.schemas
package com.r3corda.simulation