com.twitter.finagle.netty3

Netty3Transporter

case class Netty3Transporter[In, Out](pipelineFactory: ChannelPipelineFactory, newChannel: (ChannelPipeline) ⇒ Channel, newTransport: (Channel) ⇒ Transport[In, Out], tlsConfig: Option[Netty3TransporterTLSConfig], socksProxy: Option[SocketAddress], statsReceiver: StatsReceiver, channelReaderTimeout: Duration, channelWriterTimeout: Duration, channelSnooper: Option[ChannelSnooper], 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.

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. Hide All
  2. Show all
  1. Netty3Transporter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function2
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Netty3Transporter(pipelineFactory: ChannelPipelineFactory, newChannel: (ChannelPipeline) ⇒ Channel = ..., newTransport: (Channel) ⇒ Transport[In, Out] = ..., tlsConfig: Option[Netty3TransporterTLSConfig] = scala.None, socksProxy: Option[SocketAddress] = scala.None, statsReceiver: StatsReceiver = ..., 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. def canEqual(arg0: Any): Boolean

    Definition Classes
    Netty3Transporter → Equals
  9. val channelOptions: Map[String, AnyRef]

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

  10. val channelReaderTimeout: Duration

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

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

  12. val channelWriterTimeout: Duration

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

  13. def clone(): AnyRef

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

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

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

    Definition Classes
    Netty3Transporter → Equals → AnyRef → Any
  17. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  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. def productArity: Int

    Definition Classes
    Netty3Transporter → Product
  28. def productElement(arg0: Int): Any

    Definition Classes
    Netty3Transporter → Product
  29. def productIterator: Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix: String

    Definition Classes
    Netty3Transporter → Product
  31. val socksProxy: Option[SocketAddress]

  32. val statsReceiver: StatsReceiver

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

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

    If defined, use SSL with the given configuration

  35. def toString(): String

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

    Definition Classes
    Function2
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def curry: (SocketAddress) ⇒ (StatsReceiver) ⇒ Future[Transport[In, Out]]

    Definition Classes
    Function2
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) Use 'curried' instead

  2. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

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