com.twitter.finagle.netty3

Netty3Listener

case class Netty3Listener[In, Out](name: String, pipelineFactory: ChannelPipelineFactory, channelSnooper: Option[ChannelSnooper] = scala.None, channelFactory: ServerChannelFactory = Netty3Listener.channelFactory, bootstrapOptions: Map[String, AnyRef] = ..., channelMaxIdleTime: Duration = com.twitter.util.Duration.Top, channelMaxLifeTime: Duration = com.twitter.util.Duration.Top, channelReadTimeout: Duration = com.twitter.util.Duration.Top, channelWriteCompletionTimeout: Duration = com.twitter.util.Duration.Top, tlsConfig: Option[Netty3ListenerTLSConfig] = scala.None, timer: Timer = ..., nettyTimer: Timer = ..., statsReceiver: StatsReceiver = ..., monitor: Monitor = ..., logger: Logger = ...) extends Listener[In, Out] with Product with Serializable

A listener using Netty3 which is given a ChannelPipelineFactory that yields Out-typed upstream messages and accepts In-typed downstream messages.

In

the type of input messages

Out

the type of output messages

pipelineFactory

The pipeline factory for encoding input messages and decoding output messages.

channelSnooper

Use the given ChannelSnooper to log low level channel activity.

channelFactory

A netty3 ChannelFactory used to bootstrap the server's listening channel.

bootstrapOptions

Additional options for Netty's ServerBootstrap

channelMaxIdleTime

The maximum idle time of any channel.

channelMaxLifeTime

The maximum life time of any channel.

channelReadTimeout

Channels are given this much time to read a request.

channelWriteCompletionTimeout

Channels are given this much time to complete a write.

tlsConfig

When present, SSL is used to provide session security.

Linear Supertypes
Serializable, Serializable, Product, Equals, Listener[In, Out], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Netty3Listener
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Listener
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Netty3Listener(name: String, pipelineFactory: ChannelPipelineFactory, channelSnooper: Option[ChannelSnooper] = scala.None, channelFactory: ServerChannelFactory = Netty3Listener.channelFactory, bootstrapOptions: Map[String, AnyRef] = ..., channelMaxIdleTime: Duration = com.twitter.util.Duration.Top, channelMaxLifeTime: Duration = com.twitter.util.Duration.Top, channelReadTimeout: Duration = com.twitter.util.Duration.Top, channelWriteCompletionTimeout: Duration = com.twitter.util.Duration.Top, tlsConfig: Option[Netty3ListenerTLSConfig] = scala.None, timer: Timer = ..., nettyTimer: Timer = ..., statsReceiver: StatsReceiver = ..., monitor: Monitor = ..., logger: Logger = ...)

    pipelineFactory

    The pipeline factory for encoding input messages and decoding output messages.

    channelSnooper

    Use the given ChannelSnooper to log low level channel activity.

    channelFactory

    A netty3 ChannelFactory used to bootstrap the server's listening channel.

    bootstrapOptions

    Additional options for Netty's ServerBootstrap

    channelMaxIdleTime

    The maximum idle time of any channel.

    channelMaxLifeTime

    The maximum life time of any channel.

    channelReadTimeout

    Channels are given this much time to read a request.

    channelWriteCompletionTimeout

    Channels are given this much time to complete a write.

    tlsConfig

    When present, SSL is used to provide session security.

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val bootstrapOptions: Map[String, AnyRef]

    Additional options for Netty's ServerBootstrap

  8. val channelFactory: ServerChannelFactory

    A netty3 ChannelFactory used to bootstrap the server's listening channel.

  9. val channelMaxIdleTime: Duration

    The maximum idle time of any channel.

  10. val channelMaxLifeTime: Duration

    The maximum life time of any channel.

  11. val channelReadTimeout: Duration

    Channels are given this much time to read a request.

  12. val channelSnooper: Option[ChannelSnooper]

    Use the given ChannelSnooper to log low level channel activity.

  13. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

  14. val channelWriteCompletionTimeout: Duration

    Channels are given this much time to complete a write.

  15. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  17. def finalize(): Unit

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

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

    Definition Classes
    Any
  20. def listen(addr: SocketAddress)(serveTransport: (Transport[In, Out]) ⇒ Unit): ListeningServer

    Definition Classes
    Netty3ListenerListener
  21. val logger: Logger

  22. val monitor: Monitor

  23. val name: String

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

    Definition Classes
    AnyRef
  25. val nettyTimer: Timer

  26. def newServerPipelineFactory(statsReceiver: StatsReceiver, newBridge: () ⇒ ChannelHandler): ChannelPipelineFactory

  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. val pipelineFactory: ChannelPipelineFactory

    The pipeline factory for encoding input messages and decoding output messages.

  30. val statsReceiver: StatsReceiver

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

    Definition Classes
    AnyRef
  32. val timer: Timer

  33. val tlsConfig: Option[Netty3ListenerTLSConfig]

    When present, SSL is used to provide session security.

  34. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. 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 Listener[In, Out]

Inherited from AnyRef

Inherited from Any

Ungrouped