com.twitter.finagle.netty3

Netty3Listener

case class Netty3Listener[In, Out](name: String, pipelineFactory: ChannelPipelineFactory, channelSnooper: Option[ChannelSnooper], channelFactory: ServerChannelFactory, bootstrapOptions: Map[String, AnyRef], channelReadTimeout: Duration, channelWriteCompletionTimeout: Duration, tlsConfig: Option[Netty3ListenerTLSConfig], 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

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. Hide All
  2. Show all
  1. Netty3Listener
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Listener
  7. AnyRef
  8. Any
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] = ..., 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

    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. def canEqual(arg0: Any): Boolean

    Definition Classes
    Netty3Listener → Equals
  9. val channelFactory: ServerChannelFactory

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

  10. val channelReadTimeout: Duration

    Channels are given this much time to read a request.

  11. val channelSnooper: Option[ChannelSnooper]

    Use the given ChannelSnooper to log low level channel activity.

  12. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

  13. val channelWriteCompletionTimeout: Duration

    Channels are given this much time to complete a write.

  14. def clone(): AnyRef

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

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

    Definition Classes
    Netty3Listener → 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
    Netty3Listener → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    Netty3ListenerListener
  22. val logger: Logger

  23. val monitor: Monitor

  24. val name: String

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

    Definition Classes
    AnyRef
  26. val nettyTimer: Timer

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

  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. val pipelineFactory: ChannelPipelineFactory

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

  31. def productArity: Int

    Definition Classes
    Netty3Listener → Product
  32. def productElement(arg0: Int): Any

    Definition Classes
    Netty3Listener → Product
  33. def productIterator: Iterator[Any]

    Definition Classes
    Product
  34. def productPrefix: String

    Definition Classes
    Netty3Listener → Product
  35. val statsReceiver: StatsReceiver

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

    Definition Classes
    AnyRef
  37. val timer: Timer

  38. val tlsConfig: Option[Netty3ListenerTLSConfig]

    When present, SSL is used to provide session security.

  39. def toString(): String

    Definition Classes
    Netty3Listener → AnyRef → Any
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. 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 Listener[In, Out]

Inherited from AnyRef

Inherited from Any