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] = ..., 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

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] = ..., 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. val channelFactory: ServerChannelFactory

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

  9. val channelReadTimeout: Duration

    Channels are given this much time to read a request.

  10. val channelSnooper: Option[ChannelSnooper]

    Use the given ChannelSnooper to log low level channel activity.

  11. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

  12. val channelWriteCompletionTimeout: Duration

    Channels are given this much time to complete a write.

  13. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

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

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

    Definition Classes
    Netty3ListenerListener
  19. val logger: Logger

  20. val monitor: Monitor

  21. val name: String

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

    Definition Classes
    AnyRef
  23. val nettyTimer: Timer

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

  25. final def notify(): Unit

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

    Definition Classes
    AnyRef
  27. val pipelineFactory: ChannelPipelineFactory

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

  28. val statsReceiver: StatsReceiver

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

    Definition Classes
    AnyRef
  30. val timer: Timer

  31. val tlsConfig: Option[Netty3ListenerTLSConfig]

    When present, SSL is used to provide session security.

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

Inherited from AnyRef

Inherited from Any

Ungrouped