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

xyz.block.ftl.v1.VerbServiceBlockingServer.kt Maven / Gradle / Ivy

There is a newer version: 0.189.0
Show newest version
// Code generated by Wire protocol buffer compiler, do not edit.
// Source: xyz.block.ftl.v1.VerbService in xyz/block/ftl/v1/ftl.proto
@file:Suppress("DEPRECATION")

package xyz.block.ftl.v1

import com.squareup.wire.Service
import com.squareup.wire.WireRpc
import kotlin.Suppress

/**
 * VerbService is a common interface shared by multiple services for calling Verbs.
 */
public interface VerbServiceBlockingServer : Service {
  /**
   * Ping service for readiness.
   */
  @WireRpc(
    path = "/xyz.block.ftl.v1.VerbService/Ping",
    requestAdapter = "xyz.block.ftl.v1.PingRequest#ADAPTER",
    responseAdapter = "xyz.block.ftl.v1.PingResponse#ADAPTER",
    sourceFile = "xyz/block/ftl/v1/ftl.proto",
  )
  public fun Ping(request: PingRequest): PingResponse

  /**
   * Issue a synchronous call to a Verb.
   */
  @WireRpc(
    path = "/xyz.block.ftl.v1.VerbService/Call",
    requestAdapter = "xyz.block.ftl.v1.CallRequest#ADAPTER",
    responseAdapter = "xyz.block.ftl.v1.CallResponse#ADAPTER",
    sourceFile = "xyz/block/ftl/v1/ftl.proto",
  )
  public fun Call(request: CallRequest): CallResponse
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy