Trait/Object

com.twitter.finagle

Codec

Related Docs: object Codec | package finagle

Permalink

trait Codec[Req, Rep] extends AnyRef

Codecs provide protocol encoding and decoding via netty pipelines as well as a standard filter stack that is applied to services from this codec.

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

Abstract Value Members

  1. abstract def pipelineFactory: ChannelPipelineFactory

    Permalink

    The pipeline factory that implements the protocol.

Concrete 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. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def failFastOk: Boolean

    Permalink

    Is this Codec OK for failfast? This is a temporary hack to disable failFast for codecs for which it isn't well-behaved.

  9. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def newClientDispatcher(transport: Transport[Any, Any], params: Params): Service[Req, Rep]

    Permalink
  15. final def newClientDispatcher(transport: Transport[Any, Any]): Service[Req, Rep]

    Permalink
  16. def newClientTransport(ch: Channel, statsReceiver: StatsReceiver): Transport[Any, Any]

    Permalink

    Note: the below ("raw") interfaces are low level, and require a good understanding of finagle internals to implement correctly.

    Note: the below ("raw") interfaces are low level, and require a good understanding of finagle internals to implement correctly. Proceed with care.

  17. def newServerDispatcher(transport: Transport[Any, Any], service: Service[Req, Rep]): Closable

    Permalink
  18. def newTraceInitializer: Stackable[ServiceFactory[Req, Rep]]

    Permalink

    A hack to allow for overriding the TraceInitializerFilter when using Client/Server Builders rather than stacks.

  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def prepareConnFactory(underlying: ServiceFactory[Req, Rep], params: Params): ServiceFactory[Req, Rep]

    Permalink
  22. final def prepareConnFactory(underlying: ServiceFactory[Req, Rep]): ServiceFactory[Req, Rep]

    Permalink

    Prepare a connection factory.

    Prepare a connection factory. Used to allow codec modifications to the service at the bottom of the stack (connection level).

  23. def prepareServiceFactory(underlying: ServiceFactory[Req, Rep]): ServiceFactory[Req, Rep]

    Permalink

    Prepare a factory for usage with the codec.

    Prepare a factory for usage with the codec. Used to allow codec modifications to the service at the top of the network stack.

  24. def protocolLibraryName: String

    Permalink

    A protocol library name to use for displaying which protocol library this client or server is using.

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped