Cleaned up the trader, irs and simm demos so that things like the driver are used in test so that the node module isn't a compile dependency.

This has resulted in some classes moving into core, such as ClockUtils and FiberBox.
This commit is contained in:
Shams Asari
2017-06-14 15:59:17 +01:00
parent 4195adfb7b
commit 155bb029da
29 changed files with 159 additions and 159 deletions

View File

@ -4,9 +4,8 @@ import net.corda.core.node.services.FileUploader
/**
* A service that implements AcceptsFileUpload can have new binary data provided to it via an HTTP upload.
*
* TODO: In future, also accept uploads over the MQ interface too.
*/
// TODO This is no longer used and can be removed
interface AcceptsFileUpload : FileUploader {
/** A string that prefixes the URLs, e.g. "attachments" or "interest-rates". Should be OK for URLs. */
val dataTypePrefix: String

View File

@ -33,8 +33,8 @@ import kotlin.concurrent.withLock
* to be temporary. In addition, it's enitrely possible to envisage a time when we want public [net.corda.core.flows.FlowLogic]
* implementations to be able to wait for some condition to become true outside of message send/receive. At that point
* we may revisit this implementation and indeed the whole model for this, when we understand that requirement more fully.
*
*/
// TODO This is no longer used and can be removed
class FiberBox<out T>(private val content: T, private val lock: Lock = ReentrantLock()) {
private var mutated: SettableFuture<Boolean>? = null