Minor: use "platform.*" as the naming hierarchy for protocols that are supposed to be standardised.

This commit is contained in:
Mike Hearn 2016-01-08 17:45:33 +01:00
parent 717651db45
commit 363b335896
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ import java.time.Instant
* To see an example of how to use this class, look at the unit tests. * To see an example of how to use this class, look at the unit tests.
*/ */
object TwoPartyTradeProtocol { object TwoPartyTradeProtocol {
val TRADE_TOPIC = "com.r3cev.protocols.trade" val TRADE_TOPIC = "platform.trade"
fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode, fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode,
otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount, otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount,

View File

@ -55,7 +55,7 @@ class TimestamperNodeService(private val net: MessagingService,
private val clock: Clock = Clock.systemDefaultZone(), private val clock: Clock = Clock.systemDefaultZone(),
val tolerance: Duration = 30.seconds) { val tolerance: Duration = 30.seconds) {
companion object { companion object {
val TIMESTAMPING_PROTOCOL_TOPIC = "dlg.timestamping.request" val TIMESTAMPING_PROTOCOL_TOPIC = "platform.timestamping.request"
private val logger = LoggerFactory.getLogger(TimestamperNodeService::class.java) private val logger = LoggerFactory.getLogger(TimestamperNodeService::class.java)
} }