Packages

class GrpcBftOrderingService extends BftOrderingService with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcBftOrderingService
  2. NamedLogging
  3. BftOrderingService
  4. AbstractService
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GrpcBftOrderingService(tryCreateServerEndpoint: (StreamObserver[BftOrderingServiceReceiveResponse]) => StreamObserver[BftOrderingServiceReceiveRequest], loggerFactory: NamedLoggerFactory)

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. val loggerFactory: NamedLoggerFactory
    Definition Classes
    GrpcBftOrderingServiceNamedLogging
  14. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def ping(request: PingRequest): Future[PingResponse]
  20. def receive(clientEndpoint: StreamObserver[BftOrderingServiceReceiveResponse]): StreamObserver[BftOrderingServiceReceiveRequest]

    For simplicity and to avoid the usage of mTLS, which is not well supported by all network infrastructure, each BFT ordering node (client endpoint) opens its own P2P connection to every other server endpoint, performs server authentication and then pushes messages to it.

    For simplicity and to avoid the usage of mTLS, which is not well supported by all network infrastructure, each BFT ordering node (client endpoint) opens its own P2P connection to every other server endpoint, performs server authentication and then pushes messages to it.

    Note that the Java gRPC implementation seems to implement unidirectional streams as bidirectional ones, which seems to require anyway at least one server-sent message before completion (according to https://github.com/grpc/grpc-java/issues/6568). Using a unidirectional stream and sending an empty response from the server results in Netty reference-counted buffer leaks.

    Definition Classes
    GrpcBftOrderingServiceBftOrderingService
  21. def serviceCompanion: ServiceCompanion[BftOrderingService]
    Definition Classes
    BftOrderingService → AbstractService
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 NamedLogging

Inherited from BftOrderingService

Inherited from AbstractService

Inherited from AnyRef

Inherited from Any

Ungrouped