Class/Object

com.twitter.finagle.netty3

Netty3Listener

Related Docs: object Netty3Listener | package netty3

Permalink

case class Netty3Listener[In, Out](name: String, pipelineFactory: ChannelPipelineFactory, channelSnooper: Option[ChannelSnooper] = None, channelFactory: ServerChannelFactory = Netty3Listener.channelFactory, bootstrapOptions: Map[String, AnyRef] = ..., channelReadTimeout: Duration = Duration.Top, channelWriteCompletionTimeout: Duration = Duration.Top, tlsConfig: Option[Netty3ListenerTLSConfig] = None, timer: Timer = DefaultTimer.twitter, nettyTimer: Timer = DefaultTimer.netty, statsReceiver: StatsReceiver = ServerStatsReceiver, monitor: Monitor = NullMonitor, logger: Logger = DefaultLogger) 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.

monitor

Currently unused. Maintained for API compatibility.

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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.

    monitor

    Currently unused. Maintained for API compatibility.

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

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

    Permalink

    Additional options for Netty's ServerBootstrap

  6. val channelFactory: ServerChannelFactory

    Permalink

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

  7. val channelReadTimeout: Duration

    Permalink

    Channels are given this much time to read a request.

  8. val channelSnooper: Option[ChannelSnooper]

    Permalink

    Use the given ChannelSnooper to log low level channel activity.

  9. def channelStatsHandler(statsReceiver: StatsReceiver): ChannelHandler

    Permalink
  10. val channelWriteCompletionTimeout: Duration

    Permalink

    Channels are given this much time to complete a write.

  11. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    Netty3ListenerListener
  17. val logger: Logger

    Permalink
  18. val monitor: Monitor

    Permalink

    Currently unused.

    Currently unused. Maintained for API compatibility.

  19. val name: String

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

    Permalink
    Definition Classes
    AnyRef
  21. val nettyTimer: Timer

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

    Permalink
  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 for encoding input messages and decoding output messages.

  26. val statsReceiver: StatsReceiver

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

    Permalink
    Definition Classes
    AnyRef
  28. val timer: Timer

    Permalink
  29. val tlsConfig: Option[Netty3ListenerTLSConfig]

    Permalink

    When present, SSL is used to provide session security.

  30. def toString(): String

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped