r3prototyping
Module Contents
alltypes
Module Contents
object ANSIProgressRenderer
abstract class AbstractNode
interface AllPossibleRecipients : MessageRecipients
@ThreadSafe class ArtemisMessagingService : MessagingService
class AttachmentDownloadServlet : HttpServlet
interface AttachmentStorage
class AttachmentUploadServlet : HttpServlet
class BriefLogFormatter : Formatter
class ConfigurationException : Exception
@ThreadSafe class DataVendingService
@ThreadSafe class E2ETestKeyManagementService : KeyManagementService
class FetchAttachmentsProtocol : FetchDataProtocol<Attachment, ByteArray>
abstract class FetchDataProtocol<T : NamedByHash, W : Any> : ProtocolLogic<Result<T>>
class FetchTransactionsProtocol : FetchDataProtocol<SignedTransaction, SignedTransaction>
class FixedIdentityService : IdentityService
interface KeyManagementService
data class LegallyIdentifiableNode
interface Message
interface MessageHandlerRegistration
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
@ThreadSafe interface MessagingService
interface MessagingServiceBuilder<out T : MessagingService>
class MockNetworkMap : NetworkMap
interface NetworkMap
class Node : AbstractNode
@ThreadSafe class NodeAttachmentService : AttachmentStorage
interface NodeConfiguration
class NodeConfigurationFromProperties : NodeConfiguration
@ThreadSafe class NodeTimestamperService
@ThreadSafe class NodeWalletService : WalletService
abstract class ProtocolLogic<T>
class ProtocolStateMachine<R> : Fiber<R>
Module Contents
ProtocolStateMachine(logic: ProtocolLogic<R>)
@Transient lateinit var logger: Logger
val logic: ProtocolLogic<R>
fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: Logger, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
@Suspendable fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: ListenableFuture<R>
@Suspendable protected fun run(): R
@Suspendable fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
@Suspendable fun <T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any, recvType: Class<T>): UntrustworthyData<T>
@Transient lateinit var serviceHub: ServiceHub
class ResolveTransactionsProtocol : ProtocolLogic<Unit>
interface ServiceHub
interface SingleMessageRecipient : MessageRecipients
@ThreadSafe class StateMachineManager
interface StorageService
class TimestampingProtocol : ProtocolLogic<LegallyIdentifiable>
object TopicStringValidator
class TraderDemoProtocolBuyer : ProtocolLogic<Unit>
class TraderDemoProtocolSeller : ProtocolLogic<Unit>
object TwoPartyTradeProtocol
Module Contents
class AssetMismatchException : Exception
class Buyer : ProtocolLogic<SignedTransaction>
class Seller : ProtocolLogic<SignedTransaction>
class SellerTradeInfo
class SignaturesFromSeller
val TRADE_TOPIC: String
class UnacceptablePriceException : Exception
fun runBuyer(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode, otherSide: SingleMessageRecipient, acceptablePrice: Amount, typeToBuy: Class<out OwnableState>, sessionID: Long): ListenableFuture<SignedTransaction>
fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode, otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount, myKeyPair: KeyPair, buyerSessionID: Long): ListenableFuture<SignedTransaction>
class UntrustworthyData<T>
data class Wallet
interface WalletService
org.slf4j.Logger
package core
package core.messaging
package core.node
package core.node.services
package core.node.servlets
package core.protocols
Module Contents
abstract class ProtocolLogic<T>
class ProtocolStateMachine<R> : Fiber<R>
Module Contents
ProtocolStateMachine(logic: ProtocolLogic<R>)
@Transient lateinit var logger: Logger
val logic: ProtocolLogic<R>
fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: Logger, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
@Suspendable fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: ListenableFuture<R>
@Suspendable protected fun run(): R
@Suspendable fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
@Suspendable fun <T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any, recvType: Class<T>): UntrustworthyData<T>
@Transient lateinit var serviceHub: ServiceHub
package core.utilities
package demos
package protocols
Module Contents
class FetchAttachmentsProtocol : FetchDataProtocol<Attachment, ByteArray>
abstract class FetchDataProtocol<T : NamedByHash, W : Any> : ProtocolLogic<Result<T>>
class FetchTransactionsProtocol : FetchDataProtocol<SignedTransaction, SignedTransaction>
class ResolveTransactionsProtocol : ProtocolLogic<Unit>
class TimestampingProtocol : ProtocolLogic<LegallyIdentifiable>
object TwoPartyTradeProtocol
Module Contents
class AssetMismatchException : Exception
class Buyer : ProtocolLogic<SignedTransaction>
class Seller : ProtocolLogic<SignedTransaction>
class SellerTradeInfo
class SignaturesFromSeller
val TRADE_TOPIC: String
class UnacceptablePriceException : Exception
fun runBuyer(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode, otherSide: SingleMessageRecipient, acceptablePrice: Amount, typeToBuy: Class<out OwnableState>, sessionID: Long): ListenableFuture<SignedTransaction>
fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode, otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount, myKeyPair: KeyPair, buyerSessionID: Long): ListenableFuture<SignedTransaction>