Object/Trait

com.twitter.finagle.transport

Transport

Related Docs: trait Transport | package transport

Permalink

object Transport

A collection of com.twitter.finagle.Stack.Param's useful for configuring a com.twitter.finagle.transport.Transport.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BufferSizes(send: Option[Int], recv: Option[Int]) extends Product with Serializable

    Permalink

    $param the buffer sizes of a Transport.

    $param the buffer sizes of a Transport.

    send

    An option indicating the size of the send buffer. If None, the implementation default is used.

    recv

    An option indicating the size of the receive buffer. If None, the implementation default is used.

  2. case class ClientSsl(sslClientConfiguration: Option[SslClientConfiguration]) extends Product with Serializable

    Permalink

    $param the SSL/TLS client configuration for a Transport.

  3. case class Liveness(readTimeout: Duration, writeTimeout: Duration, keepAlive: Option[Boolean]) extends Product with Serializable

    Permalink

    $param the liveness of a Transport.

    $param the liveness of a Transport. These properties dictate the lifecycle of a Transport and ensure that it remains relevant.

    readTimeout

    A maximum duration a listener is allowed to read a request.

    writeTimeout

    A maximum duration a listener is allowed to write a response.

    keepAlive

    An option indicating if the keepAlive is on or off. If None, the implementation default is used.

  4. case class Options(noDelay: Boolean, reuseAddr: Boolean, reusePort: Boolean) extends Product with Serializable

    Permalink

    $param the options (i.e., socket options) of a Transport.

    $param the options (i.e., socket options) of a Transport.

    noDelay

    enables or disables TCP_NODELAY (Nagle's algorithm) option on a transport socket (noDelay = true means disabled). Default is true (disabled).

    reuseAddr

    enables or disables SO_REUSEADDR option on a transport socket. Default is true.

    reusePort

    enables or disables SO_REUSEPORT option on a transport socket (Linux 3.9+ only). This option is only available when using finagle-netty4 and native epoll support is enabled. Default is false.

  5. case class ServerSsl(sslServerConfiguration: Option[SslServerConfiguration]) extends Product with Serializable

    Permalink

    $param the SSL/TLS server configuration for a Transport.

  6. case class Verbose(enabled: Boolean) extends Product with Serializable

    Permalink

    $param the verbosity of a Transport.

    $param the verbosity of a Transport. Transport activity is written to com.twitter.finagle.param.Logger.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object BufferSizes extends Serializable

    Permalink
  5. object ClientSsl extends Serializable

    Permalink
  6. object Liveness extends Serializable

    Permalink
  7. object Options extends Serializable

    Permalink
  8. object ServerSsl extends Serializable

    Permalink
  9. object Verbose extends Serializable

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def cast[In1, Out1](cls: Class[Out1], trans: Transport[Any, Any]): Transport[In1, Out1]

    Permalink

    Casts an object transport to Transport[In1, Out1].

    Casts an object transport to Transport[In1, Out1]. Note that this is generally unsafe: only do this when you know the cast is guaranteed safe. This is useful when coercing a netty object pipeline into a typed transport, for example.

    See also

    Transport.cast(trans) for Scala users.

  12. def cast[In1, Out1](trans: Transport[Any, Any])(implicit m: Manifest[Out1]): Transport[In1, Out1]

    Permalink

    Casts an object transport to Transport[In1, Out1].

    Casts an object transport to Transport[In1, Out1]. Note that this is generally unsafe: only do this when you know the cast is guaranteed safe. This is useful when coercing a netty object pipeline into a typed transport, for example.

    See also

    transport) for Java users.

  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def peerCertificate: Option[Certificate]

    Permalink

    Retrieve the transport's SSLSession (if any) from com.twitter.finagle.context.Contexts.local

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped