com.twitter.finagle.netty3

Netty3Transporter

case class Netty3Transporter[In, Out](name: String, pipelineFactory: ChannelPipelineFactory, newChannel: (ChannelPipeline) ⇒ Channel = ..., newTransport: (Channel) ⇒ Transport[In, Out] = ..., tlsConfig: Option[Netty3TransporterTLSConfig] = scala.None, httpProxy: Option[SocketAddress] = scala.None, socksProxy: Option[SocketAddress] = ..., channelReaderTimeout: Duration = com.twitter.util.Duration.Top, channelWriterTimeout: Duration = com.twitter.util.Duration.Top, channelSnooper: Option[ChannelSnooper] = scala.None, channelOptions: Map[String, AnyRef] = ...) extends (SocketAddress, StatsReceiver) ⇒ Future[Transport[In, Out]] with Product with Serializable

A transporter for netty3 which, given an endpoint name (socket address), provides a typed transport for communicating with this endpoint.

In

the type of requests. The given pipeline must consume Req-typed objects

Out

the type of replies. The given pipeline must produce objects of this type.

pipelineFactory

the pipeline factory that implements the the Codec: it must input (downstream) In objects, and output (upstream) Out objects.

newChannel

A function used to create a new netty3 channel, given a pipeline.

newTransport

Create a new transport, given a channel.

tlsConfig

If defined, use SSL with the given configuration

channelReaderTimeout

The amount of time for which a channel may be read-idle.

channelWriterTimeout

The amount of time for which a channel may be write-idle.

channelSnooper

If defined, install the given snooper on each channel. Used for debugging.

channelOptions

These netty channel options are applied to the channel prior to establishing a new connection.

Linear Supertypes
Serializable, Serializable, Product, Equals, (SocketAddress, StatsReceiver) ⇒ Future[Transport[In, Out]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Netty3Transporter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function2
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Netty3Transporter(name: String, pipelineFactory: ChannelPipelineFactory, newChannel: (ChannelPipeline) ⇒ Channel = ..., newTransport: (Channel) ⇒ Transport[In, Out] = ..., tlsConfig: Option[Netty3TransporterTLSConfig] = scala.None, httpProxy: Option[SocketAddress] = scala.None, socksProxy: Option[SocketAddress] = ..., channelReaderTimeout: Duration = com.twitter.util.Duration.Top, channelWriterTimeout: Duration = com.twitter.util.Duration.Top, channelSnooper: Option[ChannelSnooper] = scala.None, channelOptions: Map[String, AnyRef] = ...)

    pipelineFactory

    the pipeline factory that implements the the Codec: it must input (downstream) In objects, and output (upstream) Out objects.

    newChannel

    A function used to create a new netty3 channel, given a pipeline.

    newTransport

    Create a new transport, given a channel.

    tlsConfig

    If defined, use SSL with the given configuration

    channelReaderTimeout

    The amount of time for which a channel may be read-idle.

    channelWriterTimeout

    The amount of time for which a channel may be write-idle.

    channelSnooper

    If defined, install the given snooper on each channel. Used for debugging.

    channelOptions

    These netty channel options are applied to the channel prior to establishing a new connection.

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(addr: SocketAddress, statsReceiver: StatsReceiver): Future[Transport[In, Out]]

    Definition Classes
    Netty3Transporter → Function2
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val channelOptions: Map[String, AnyRef]

    These netty channel options are applied to the channel prior to establishing a new connection.

  9. val channelReaderTimeout: Duration

    The amount of time for which a channel may be read-idle.

  10. val channelSnooper: Option[ChannelSnooper]

    If defined, install the given snooper on each channel.

    If defined, install the given snooper on each channel. Used for debugging.

  11. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

  12. val channelWriterTimeout: Duration

    The amount of time for which a channel may be write-idle.

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def curried: (SocketAddress) ⇒ (StatsReceiver) ⇒ Future[Transport[In, Out]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. val httpProxy: Option[SocketAddress]

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val name: String

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. val newChannel: (ChannelPipeline) ⇒ Channel

    A function used to create a new netty3 channel, given a pipeline.

  23. val newTransport: (Channel) ⇒ Transport[In, Out]

    Create a new transport, given a channel.

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. val pipelineFactory: ChannelPipelineFactory

    the pipeline factory that implements the the Codec: it must input (downstream) In objects, and output (upstream) Out objects.

  27. val socksProxy: Option[SocketAddress]

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

    Definition Classes
    AnyRef
  29. val tlsConfig: Option[Netty3TransporterTLSConfig]

    If defined, use SSL with the given configuration

  30. def toString(): String

    Definition Classes
    Function2 → AnyRef → Any
  31. def tupled: ((SocketAddress, StatsReceiver)) ⇒ Future[Transport[In, Out]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (SocketAddress, StatsReceiver) ⇒ Future[Transport[In, Out]]

Inherited from AnyRef

Inherited from Any

Ungrouped