Class/Object

com.twitter.finagle.netty3

Netty3Transporter

Related Docs: object Netty3Transporter | package netty3

Permalink

case class Netty3Transporter[In, Out](name: String, pipelineFactory: ChannelPipelineFactory, newChannel: (ChannelPipeline) ⇒ Channel = ..., newTransport: (Channel) ⇒ Transport[In, Out] = ..., tlsConfig: Option[Netty3TransporterTLSConfig] = None, httpProxy: Option[SocketAddress] = None, socksProxy: Option[SocketAddress] = SocksProxyFlags.socksProxy, socksUsernameAndPassword: Option[(String, String)] = ..., channelReaderTimeout: Duration = Duration.Top, channelWriterTimeout: Duration = Duration.Top, channelSnooper: Option[ChannelSnooper] = None, channelOptions: Map[String, AnyRef] = ..., httpProxyCredentials: Option[Credentials] = None) 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
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] = None, httpProxy: Option[SocketAddress] = None, socksProxy: Option[SocketAddress] = SocksProxyFlags.socksProxy, socksUsernameAndPassword: Option[(String, String)] = ..., channelReaderTimeout: Duration = Duration.Top, channelWriterTimeout: Duration = Duration.Top, channelSnooper: Option[ChannelSnooper] = None, channelOptions: Map[String, AnyRef] = ..., httpProxyCredentials: Option[Credentials] = None)

    Permalink

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

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

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

    Permalink

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

  7. val channelReaderTimeout: Duration

    Permalink

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

  8. val channelSnooper: Option[ChannelSnooper]

    Permalink

    If defined, install the given snooper on each channel.

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

  9. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

    Permalink
  10. val channelWriterTimeout: Duration

    Permalink

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

  11. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

    Permalink
  17. val httpProxyCredentials: Option[Credentials]

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val name: String

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

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

    Permalink

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

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

    Permalink

    Create a new transport, given a channel.

  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. val pipelineFactory: ChannelPipelineFactory

    Permalink

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

  26. val socksProxy: Option[SocketAddress]

    Permalink
  27. val socksUsernameAndPassword: Option[(String, String)]

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

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

    Permalink

    If defined, use SSL with the given configuration

  30. def toString(): String

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

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

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

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

    Permalink
    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