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

sss.openstar.nodebuilder.ConsoleServletBuilder.scala Maven / Gradle / Ivy

package sss.openstar.nodebuilder

import sss.openstar.common.builders.{IOExecutionContextBuilder, RequireNodeIdentity}
import sss.openstar.console.ConsoleServlet
import sss.openstar.db.Builder.RequireDb

trait ConsoleServletBuilder {

  self: RequireNodeIdentity
    with SendTxBuilder
    with RequireDb
    with IOExecutionContextBuilder
    with IdentityLedgerBuilder =>

  def buildConsoleServlet: Option[ConsoleServlet] = {
    Option(new ConsoleServlet(nodeIdentity, sendTx, toIdentityLedgerOwner)(ioExecutionContext))
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy