com.twitter.finagle.client

StdStackClient

Related Doc: package client

trait StdStackClient[Req, Rep, This <: StdStackClient[Req, Rep, This]] extends StackClient[Req, Rep]

The standard template implementation for com.twitter.finagle.client.StackClient.

Self Type
StdStackClient[Req, Rep, This]
Linear Supertypes
StackClient[Req, Rep], StackBasedClient[Req, Rep], Transformable[StackClient[Req, Rep]], Parameterized[StackClient[Req, Rep]], Client[Req, Rep], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StdStackClient
  2. StackClient
  3. StackBasedClient
  4. Transformable
  5. Parameterized
  6. Client
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type In

    Attributes
    protected
  2. abstract type Out

    Attributes
    protected

Abstract Value Members

  1. abstract def copy1(stack: Stack[ServiceFactory[Req, Rep]] = this.stack, params: Params = this.params): This { ... /* 2 definitions in type refinement */ }

    A copy constructor in lieu of defining StackClient as a case class.

    A copy constructor in lieu of defining StackClient as a case class.

    Attributes
    protected
  2. abstract def newDispatcher(transport: Transport[In, Out]): Service[Req, Rep]

    Defines a dispatcher, a function which reconciles the stream based Transport with a Request/Response oriented Service.

    Defines a dispatcher, a function which reconciles the stream based Transport with a Request/Response oriented Service. Together with a Transporter, it forms the foundation of a finagle client. Concrete implementations are expected to specify this.

    Attributes
    protected
    See also

    com.twitter.finagle.dispatch.GenSerialServerDispatcher

  3. abstract def newTransporter(): Transporter[In, Out]

    Defines a typed com.twitter.finagle.client.Transporter for this client.

    Defines a typed com.twitter.finagle.client.Transporter for this client. Concrete StackClient implementations are expected to specify this.

    Attributes
    protected
  4. abstract def params: Params

    The current parameter map.

    The current parameter map.

    Definition Classes
    StackClientParameterized
  5. abstract def stack: Stack[ServiceFactory[Req, Rep]]

    The current stack.

    The current stack.

    Definition Classes
    StackClient

Concrete 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def configured[P](p: P)(implicit arg0: Param[P]): This

    Creates a new StackClient with parameter p.

    Creates a new StackClient with parameter p.

    Definition Classes
    StdStackClientStackClientParameterized
  7. def configured[P](psp: (P, Param[P])): StackClient[Req, Rep]

    Definition Classes
    Parameterized
  8. def endpointer: Stackable[ServiceFactory[Req, Rep]]

    A stackable module that creates new Transports (via transporter) when applied.

    A stackable module that creates new Transports (via transporter) when applied.

    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def newClient(dest: Name, label0: String): ServiceFactory[Req, Rep]

    Create a new client connected to dest.

    Create a new client connected to dest.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    StdStackClientClient
  17. final def newClient(dest: String, label: String): ServiceFactory[Req, Rep]

    Create a new client connected to dest.

    Create a new client connected to dest.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    Client
  18. final def newClient(dest: String): ServiceFactory[Req, Rep]

    Create a new client connected to dest.

    Create a new client connected to dest.

    Definition Classes
    Client
  19. def newService(dest: Name, label: String): Service[Req, Rep]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    StdStackClientClient
  20. final def newService(dest: String, label: String): Service[Req, Rep]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest.

    Definition Classes
    Client
  21. final def newService(dest: String): Service[Req, Rep]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest.

    Definition Classes
    Client
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def transformed(f: (Stack[ServiceFactory[Req, Rep]]) ⇒ Stack[ServiceFactory[Req, Rep]]): This

    Creates a new StackClient with f applied to stack.

    Creates a new StackClient with f applied to stack.

    For expert users only.

  27. def transformed(t: Stack.Transformer): StackClient[Req, Rep]

    Transform the stack using the given Transformer.

    Transform the stack using the given Transformer.

    Definition Classes
    StackClientTransformable
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withParams(params: Params): This

    Creates a new StackClient with params used to configure this StackClient's stack.

    Creates a new StackClient with params used to configure this StackClient's stack.

    Definition Classes
    StdStackClientStackClientParameterized
  32. def withStack(stack: Stack[ServiceFactory[Req, Rep]]): This

    A new StackClient with the provided stack.

    A new StackClient with the provided stack.

    Definition Classes
    StdStackClientStackClient

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[Req, Rep]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[Req, Rep]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

Inherited from StackClient[Req, Rep]

Inherited from StackBasedClient[Req, Rep]

Inherited from Transformable[StackClient[Req, Rep]]

Inherited from Parameterized[StackClient[Req, Rep]]

Inherited from Client[Req, Rep]

Inherited from AnyRef

Inherited from Any

Ungrouped