com.twitter.finagle

ThriftMuxClient

object ThriftMuxClient extends ThriftMuxClientLike

A client for thrift served over com.twitter.finagle.mux

$clientExample

Annotations
@deprecated
Deprecated

(Since version 7.0.0) Use object ThriftMux

Linear Supertypes
ThriftMuxClientLike, ThriftRichClient, StackBasedClient[ThriftClientRequest, Array[Byte]], Transformable[ThriftMuxClientLike], Parameterized[ThriftMuxClientLike], Client[ThriftClientRequest, Array[Byte]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ThriftMuxClient
  2. ThriftMuxClientLike
  3. ThriftRichClient
  4. StackBasedClient
  5. Transformable
  6. Parameterized
  7. Client
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(params: Params): Client[ThriftClientRequest, Array[Byte]]

    Create a new ThriftMuxClientLike with params used to configure the muxer.

    Create a new ThriftMuxClientLike with params used to configure the muxer. This makes ThriftMuxClientLike compatible with the legacy com.twitter.finagle.builder.ClientBuilder. However, keep in mind that many of the ClientBuilder parameters are not applicable to the muxer.

    Definition Classes
    ThriftMuxClientLike
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def configured[P](psp: (P, Param[P])): ThriftMuxClientLike

    Definition Classes
    ThriftMuxClientLike → Parameterized
  10. def configured[P](p: P)(implicit arg0: Param[P]): ThriftMuxClientLike

    Create a new ThriftMuxClientLike with p added to the parameters used to configure the muxer.

    Create a new ThriftMuxClientLike with p added to the parameters used to configure the muxer.

    Definition Classes
    ThriftMuxClientLike → Parameterized
  11. lazy val defaultClientName: String

    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(): ThriftMuxClientLike

    Used for Java access.

    Used for Java access.

    Definition Classes
    ThriftMuxClientLike
  16. final def getClass(): Class[_]

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

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

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

    Definition Classes
    AnyRef
  20. def newClient(dest: Name, label: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Definition Classes
    ThriftMuxClientLike → Client
  21. final def newClient(dest: String, label: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
  22. final def newClient(dest: String): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
  23. def newIface[Iface](name: Name, label: String, cls: Class[_]): Iface

    Definition Classes
    ThriftRichClient
  24. def newIface[Iface](dest: Name, label: String)(implicit arg0: ClassTag[Iface]): Iface

    Definition Classes
    ThriftRichClient
  25. def newIface[Iface](dest: String, label: String)(implicit arg0: ClassTag[Iface]): Iface

    Definition Classes
    ThriftRichClient
  26. def newIface[Iface](dest: String)(implicit arg0: ClassTag[Iface]): Iface

    Definition Classes
    ThriftRichClient
  27. def newIface[Iface](dest: String, label: String, cls: Class[_]): Iface

    Definition Classes
    ThriftRichClient
  28. def newIface[Iface](dest: String, cls: Class[_]): Iface

    Definition Classes
    ThriftRichClient
  29. def newMethodIface[ServiceIface, FutureIface](serviceIface: ServiceIface)(implicit builder: MethodIfaceBuilder[ServiceIface, FutureIface]): FutureIface

    Definition Classes
    ThriftRichClient
  30. def newService(dest: Name, label: String): Service[ThriftClientRequest, Array[Byte]]

    Definition Classes
    ThriftMuxClientLike → Client
  31. final def newService(dest: String, label: String): Service[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
  32. final def newService(dest: String): Service[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
  33. def newServiceIface[ServiceIface](dest: Name, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Definition Classes
    ThriftRichClient
  34. def newServiceIface[ServiceIface](dest: String, label: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Definition Classes
    ThriftRichClient
  35. final def notify(): Unit

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

    Definition Classes
    AnyRef
  37. def params: Params

    The com.twitter.finagle.Stack.Params used to configure the stack.

    The com.twitter.finagle.Stack.Params used to configure the stack.

    Definition Classes
    ThriftMuxClientLike → Parameterized
  38. val protocolFactory: TProtocolFactory

    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  39. def stack: Stack[ServiceFactory[Request, Response]]

    The com.twitter.finagle.ServiceFactory stack that requests are dispatched through.

    The com.twitter.finagle.ServiceFactory stack that requests are dispatched through.

    Definition Classes
    ThriftMuxClientLike
  40. lazy val stats: StatsReceiver

    Attributes
    protected
    Definition Classes
    ThriftMuxClientLike → ThriftRichClient
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def transformed(t: Transformer): ThriftMuxClientLike

    Definition Classes
    ThriftMuxClientLike → Transformable
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withClientId(clientId: ClientId): ThriftMuxClientLike

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided client ID.

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided client ID.

    Definition Classes
    ThriftMuxClientLike
  48. def withParams(ps: Params): ThriftMuxClientLike

    Definition Classes
    ThriftMuxClientLike → Parameterized
  49. def withProtocolFactory(pf: TProtocolFactory): ThriftMuxClientLike

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided protocolFactory.

    Produce a com.twitter.finagle.ThriftMuxClientLike using the provided protocolFactory.

    Definition Classes
    ThriftMuxClientLike

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. def newIface[Iface](group: Group[SocketAddress], cls: Class[_]): Iface

    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)

  3. def newIface[Iface](group: Group[SocketAddress])(implicit arg0: ClassTag[Iface]): Iface

    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)

  4. final def newService(dest: Group[SocketAddress]): Service[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  5. def newServiceIface[ServiceIface](dest: Name)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 2015-10-26) Must provide service label

  6. def newServiceIface[ServiceIface](dest: String)(implicit builder: ServiceIfaceBuilder[ServiceIface]): ServiceIface

    Definition Classes
    ThriftRichClient
    Annotations
    @deprecated
    Deprecated

    (Since version 2015-10-26) Must provide service label

Inherited from ThriftMuxClientLike

Inherited from ThriftRichClient

Inherited from StackBasedClient[ThriftClientRequest, Array[Byte]]

Inherited from Transformable[ThriftMuxClientLike]

Inherited from Parameterized[ThriftMuxClientLike]

Inherited from Client[ThriftClientRequest, Array[Byte]]

Inherited from AnyRef

Inherited from Any

Ungrouped