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

com.twitter.finagle.thrift.service.MethodPerEndpointBuilder.scala Maven / Gradle / Ivy

There is a newer version: 24.2.0
Show newest version
package com.twitter.finagle.thrift.service

/**
 * A typeclass to construct a MethodPerEndpoint by wrapping a ServicePerEndpoint.
 * This is a compatibility constructor to replace an existing Future interface
 * with one built from a ServicePerEndpoint.
 *
 * Scrooge generates implementations of this builder.
 */
trait MethodPerEndpointBuilder[ServicePerEndpoint, MethodPerEndpoint] {

  /**
   * Build a MethodPerEndpoint wrapping a ServicePerEndpoint.
   */
  def methodPerEndpoint(servicePerEndpoint: ServicePerEndpoint): MethodPerEndpoint

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy