Packages

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
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

    The pipeline factory that implements the protocol.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def failFastOk: Boolean

    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
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def newClientDispatcher(transport: Transport[Any, Any], params: Params): Service[Req, Rep]
  15. final def newClientDispatcher(transport: Transport[Any, Any]): Service[Req, Rep]
  16. def newClientTransport(ch: Channel, statsReceiver: StatsReceiver): Transport[Any, Any]

    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
  18. def newTraceInitializer: Stackable[ServiceFactory[Req, Rep]]

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

  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def prepareConnFactory(underlying: ServiceFactory[Req, Rep], params: Params): ServiceFactory[Req, Rep]
  22. final def prepareConnFactory(underlying: ServiceFactory[Req, Rep]): ServiceFactory[Req, Rep]

    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]

    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

    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
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped