Package

com.twitter.finagle

server

Permalink

package server

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. server
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Listener[In, Out, Ctx <: TransportContext] extends AnyRef

    Permalink

    Listeners provide a method, listen, to expose a server on the the given SocketAddress.

    Listeners provide a method, listen, to expose a server on the the given SocketAddress. serveTransport is called for each new connection. It is furnished with a typed Transport representing this connection.

    The returned ListeningServer is used to inspect the server, and is also used to shut it down.

  2. trait ListeningStackServer[Req, Rep, This <: ListeningStackServer[Req, Rep, This]] extends StackServer[Req, Rep] with Parameterized[This] with Transformable[This] with CommonParams[This] with WithServerTransport[This] with WithServerSession[This] with WithServerAdmissionControl[This]

    Permalink

    The standard template for creating a concrete representation of a StackServer.

    The standard template for creating a concrete representation of a StackServer.

    See also

    StdStackServer for a further refined StackServer template which uses the transport + dispatcher pattern.

  3. trait StackBasedServer[Req, Rep] extends Server[Req, Rep] with Parameterized[StackBasedServer[Req, Rep]]

    Permalink

    A Server that is parametrized.

  4. trait StackServer[Req, Rep] extends StackBasedServer[Req, Rep] with Parameterized[StackServer[Req, Rep]] with Transformable[StackServer[Req, Rep]]

    Permalink

    A com.twitter.finagle.Server that composes a com.twitter.finagle.Stack.

    See also

    ListeningServer for a template implementation that tracks session resources.

  5. trait StdStackServer[Req, Rep, This <: StdStackServer[Req, Rep, This]] extends ListeningStackServer[Req, Rep, This]

    Permalink

    A standard template implementation for com.twitter.finagle.server.StackServer that uses the transport + dispatcher pattern.

    A standard template implementation for com.twitter.finagle.server.StackServer that uses the transport + dispatcher pattern.

    See also

    StackServer.newStack for the default modules used by Finagle servers.

    StackServer for a generic representation of a stack server.

    The user guide for further details on Finagle servers and their configuration.

  6. type Transformer[Req, Rep] = (ServiceFactory[Req, Rep]) ⇒ ServiceFactory[Req, Rep]

    Permalink

Value Members

  1. object Listener

    Permalink

    A collection of Stack.Params useful for configuring a com.twitter.finagle.server.Listener.

  2. object NullListener extends Listener[Any, Any, TransportContext]

    Permalink

    An empty Listener that can be used as a placeholder.

  3. object StackServer

    Permalink
  4. object ThreadUsage

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped