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 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.

  3. case class Options(noDelay: Boolean, reuseAddr: 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.

  4. case class TLSClientEngine(e: Option[(SocketAddress) ⇒ Engine]) extends Product with Serializable

    Permalink

    $param the TLS engine for a Transport.

  5. case class TLSServerEngine(e: Option[() ⇒ Engine]) extends Product with Serializable

    Permalink

    $param the TLS engine 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 Liveness extends Serializable

    Permalink
  6. object Options extends Serializable

    Permalink
  7. object TLSClientEngine extends Serializable

    Permalink
  8. object TLSServerEngine extends Serializable

    Permalink
  9. object Verbose extends Serializable

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def cast[In1, 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.

  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped