RpcObject

interface RpcObject<T : RpcService>

Interface for generated companions of RpcService.

Properties

Link copied to clipboard
abstract val endpoints: List<String>
Link copied to clipboard
abstract val serviceName: String
Link copied to clipboard

The minimum transport capability tier this service requires, as determined by the compiler plugin from the service's method signatures. Used by transport registration checks to reject services that can't work on a given channel.

Functions

Link copied to clipboard
abstract fun <S> createStub(channel: SerializedService<S>): T
Link copied to clipboard
abstract fun findEndpoint(endpoint: String): RpcMethod<*, *, *>