All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sss.openstar.message.payloads.PaywalledMessage.scala Maven / Gradle / Ivy

package sss.openstar.message.payloads

import sss.openstar.balanceledger.TxIndex
import sss.openstar.message.{MessageComposite, MessagePayload}
import sss.openstar.{UniqueNodeIdentifier, message}

case class PaywalledMessage(
                             from: Option[UniqueNodeIdentifier],
                             txIndex: Option[TxIndex],
                             messagePayload: MessagePayload) extends MessageComposite {

  override def apply[C >: MessageComposite](m: message.MessageUpdater): C =
    throw new Exception("Can't apply anything to PaywalledMessage")

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy