BlockServiceStub

org.plasmalabs.indexer.services.BlockServiceGrpc.BlockServiceStub
See theBlockServiceStub companion object
class BlockServiceStub(channel: Channel, options: CallOptions) extends AbstractStub[BlockServiceStub], BlockService

Attributes

Companion
object
Graph
Supertypes
trait BlockService
trait AbstractService
class AbstractStub[BlockServiceStub]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def build(channel: Channel, options: CallOptions): BlockServiceStub

Attributes

Definition Classes
AbstractStub
override def getBlockByDepth(request: GetBlockByDepthRequest): Future[BlockResponse]

Retrieve the block at the specified depth from the configured indexer service. This returns its result immediately. The block at depth 1 is the highest block with a confidence factor that is greater than or equal to the value of the confidenceFactor parameter.

Retrieve the block at the specified depth from the configured indexer service. This returns its result immediately. The block at depth 1 is the highest block with a confidence factor that is greater than or equal to the value of the confidenceFactor parameter.

Since blocks keep getting added, we expect that multiple calls to this with the same argument will return different blocks.

Attributes

Definition Classes
override def getBlockByHeight(request: GetBlockByHeightRequest): Future[BlockResponse]

Retrieve the block at the specified height from the configured indexer service, where the height of the genesis block is 1. This returns a result when there is a block present in the indexer service at the specified height and the confidence factor of the block is greater than or equal to the value of the confidenceFactor parameter.

Retrieve the block at the specified height from the configured indexer service, where the height of the genesis block is 1. This returns a result when there is a block present in the indexer service at the specified height and the confidence factor of the block is greater than or equal to the value of the confidenceFactor parameter.

Attributes

Definition Classes
override def getBlockById(request: GetBlockByIdRequest): Future[BlockResponse]

Retrieve a block with the specified id from the configured indexer service. This returns its result when there is a block present in the indexer service with the specified id and the confidence factor of the block is greater than or equal to the value of the confidenceFactor parameter.

Retrieve a block with the specified id from the configured indexer service. This returns its result when there is a block present in the indexer service with the specified id and the confidence factor of the block is greater than or equal to the value of the confidenceFactor parameter.

Attributes

Definition Classes

Inherited methods

final def getCallOptions(): CallOptions

Attributes

Inherited from:
AbstractStub
final def getChannel(): Channel

Attributes

Inherited from:
AbstractStub
override def serviceCompanion: ServiceCompanion[BlockService]

Attributes

Definition Classes
BlockService -> AbstractService
Inherited from:
BlockService
final def withCallCredentials(x$0: CallCredentials): BlockServiceStub

Attributes

Inherited from:
AbstractStub
final def withCompression(x$0: String): BlockServiceStub

Attributes

Inherited from:
AbstractStub
final def withDeadline(x$0: Deadline): BlockServiceStub

Attributes

Inherited from:
AbstractStub
final def withDeadlineAfter(x$0: Long, x$1: TimeUnit): BlockServiceStub

Attributes

Inherited from:
AbstractStub
final def withExecutor(x$0: Executor): BlockServiceStub

Attributes

Inherited from:
AbstractStub
final def withInterceptors(x$0: ClientInterceptor*): BlockServiceStub

Attributes

Inherited from:
AbstractStub
@ExperimentalApi(value = "https://github.com/grpc/grpc-java/issues/2563")

Attributes

Inherited from:
AbstractStub
@ExperimentalApi(value = "https://github.com/grpc/grpc-java/issues/2563")

Attributes

Inherited from:
AbstractStub
@ExperimentalApi(value = "https://github.com/grpc/grpc-java/issues/1869")
final def withOption[T <: <FromJavaObject>](x$0: Key[T], x$1: T): BlockServiceStub

Attributes

Inherited from:
AbstractStub

Attributes

Inherited from:
AbstractStub

Deprecated and Inherited methods

@Deprecated
final def withChannel(x$0: Channel): BlockServiceStub

Attributes

Deprecated
true
Inherited from:
AbstractStub