Packages

class JsInteractiveSubmissionService extends Endpoints with NamedLogging

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsInteractiveSubmissionService
  2. Endpoints
  3. NamedLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JsInteractiveSubmissionService(ledgerClient: LedgerClient, protocolConverters: ProtocolConverters, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext, authInterceptor: AuthInterceptor)

Type Members

  1. implicit class FutureOps[R] extends AnyRef
    Definition Classes
    Endpoints
  2. type CustomError = (StatusCode, JsCantonError)
    Definition Classes
    Endpoints

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asList[INPUT, OUTPUT, R](endpoint: Endpoint[CallerContext, StreamList[INPUT], CustomError, Seq[OUTPUT], R], service: (CallerContext) => (TracedInput[Unit]) => Flow[INPUT, OUTPUT, Any], timeoutOpenEndedStream: Boolean = false)(implicit wsConfig: WebsocketConfig, materializer: Materializer, authInterceptor: AuthInterceptor): Full[CallerContext, CallerContext, TracedInput[StreamList[INPUT]], (StatusCode, JsCantonError), Seq[OUTPUT], R, Future]
    Definition Classes
    Endpoints
  6. def asPagedList[INPUT, OUTPUT, R](endpoint: Endpoint[CallerContext, PagedList[INPUT], (StatusCode, JsCantonError), OUTPUT, R], service: (CallerContext) => (TracedInput[PagedList[INPUT]]) => Future[Either[JsCantonError, OUTPUT]])(implicit authInterceptor: AuthInterceptor): Full[CallerContext, CallerContext, TracedInput[PagedList[INPUT]], (StatusCode, JsCantonError), OUTPUT, R, Future]
    Definition Classes
    Endpoints
  7. implicit val authInterceptor: AuthInterceptor
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def endpoints(): List[ServerEndpoint[Any, Future] { ... /* 5 definitions in type refinement */ }]
    Annotations
    @SuppressWarnings()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def error[R](error: JsCantonError): Future[Either[JsCantonError, R]]
    Definition Classes
    Endpoints
  13. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  14. def execute(callerContext: CallerContext): (TracedInput[JsExecuteSubmissionRequest]) => Future[Either[JsCantonError, ExecuteSubmissionResponse]]
  15. def executeAndWait(callerContext: CallerContext): (TracedInput[JsExecuteSubmissionAndWaitRequest]) => Future[Either[JsCantonError, ExecuteSubmissionAndWaitResponse]]
  16. def executeAndWaitForTransaction(callerContext: CallerContext): (TracedInput[JsExecuteSubmissionAndWaitForTransactionRequest]) => Future[Either[JsCantonError, JsExecuteSubmissionAndWaitForTransactionResponse]]
  17. implicit val executionContext: ExecutionContext
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def handleErrorResponse[R](implicit traceContext: TraceContext): (Try[Either[JsCantonError, R]]) => Try[Either[CustomError, R]]
    Attributes
    protected
    Definition Classes
    Endpoints
  20. def handleFailure[R](implicit traceContext: TraceContext): (Try[Either[CustomError, R]]) => Try[Either[CustomError, R]]
    Attributes
    protected
    Definition Classes
    Endpoints
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def json[R, P](endpoint: Endpoint[CallerContext, P, CustomError, Unit, Any], service: (CallerContext) => (TracedInput[P]) => Future[Either[JsCantonError, R]])(implicit arg0: Decoder[R], arg1: Encoder[R], arg2: Schema[R], authInterceptor: AuthInterceptor): Full[CallerContext, CallerContext, TracedInput[P], CustomError, R, Any, Future]
    Definition Classes
    Endpoints
  24. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. val loggerFactory: NamedLoggerFactory
  26. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. def prepare(callerContext: CallerContext): (TracedInput[JsPrepareSubmissionRequest]) => Future[Either[JsCantonError, JsPrepareSubmissionResponse]]
  32. def prepareSingleWsStream[REQ, RESP, JSRESP](stream: (REQ, StreamObserver[RESP]) => Unit, mapToJs: (RESP) => Future[JSRESP])(implicit esf: ExecutionSequencerFactory): Flow[REQ, JSRESP, NotUsed]

    Utility to prepare flow from a gRPC method with an observer.

    Utility to prepare flow from a gRPC method with an observer.

    Attributes
    protected
    Definition Classes
    Endpoints
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. def websocket[HI, I, O](endpoint: Endpoint[CallerContext, HI, CustomError, Flow[I, Either[JsCantonError, O], Any], PekkoStreams with WebSockets], service: (CallerContext) => (TracedInput[HI]) => Flow[I, O, Any])(implicit authInterceptor: AuthInterceptor): Full[CallerContext, CallerContext, HI, CustomError, Flow[I, Either[JsCantonError, O], Any], PekkoStreams with WebSockets, Future]
    Attributes
    protected
    Definition Classes
    Endpoints
  39. def withServerLogic[INPUT, OUTPUT, R](endpoint: Endpoint[CallerContext, INPUT, CustomError, OUTPUT, R], service: (CallerContext) => (TracedInput[INPUT]) => Future[Either[JsCantonError, OUTPUT]])(implicit authInterceptor: AuthInterceptor): Full[CallerContext, CallerContext, TracedInput[INPUT], CustomError, OUTPUT, R, Future]
    Definition Classes
    Endpoints
  40. def withTraceHeaders[P, E](endpoint: Endpoint[CallerContext, P, E, Unit, Any]): Endpoint[CallerContext, TracedInput[P], E, Unit, Any]
    Attributes
    protected
    Definition Classes
    Endpoints

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Endpoints

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped