Packages

c

com.twitter.finagle

AbstractCodec

abstract class AbstractCodec[Req, Rep] extends Codec[Req, Rep]

An abstract class version of the above for java compatibility.

Linear Supertypes
Codec[Req, Rep], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractCodec
  2. Codec
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractCodec()

Abstract Value Members

  1. abstract def pipelineFactory: ChannelPipelineFactory

    The pipeline factory that implements the protocol.

    The pipeline factory that implements the protocol.

    Definition Classes
    Codec

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.

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

    Definition Classes
    Codec
  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]
    Definition Classes
    Codec
  15. final def newClientDispatcher(transport: Transport[Any, Any]): Service[Req, Rep]
    Definition Classes
    Codec
  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.

    Definition Classes
    Codec
  17. def newServerDispatcher(transport: Transport[Any, Any], service: Service[Req, Rep]): Closable
    Definition Classes
    Codec
  18. def newTraceInitializer: Stackable[ServiceFactory[Req, Rep]]

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

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

    Definition Classes
    Codec
  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]
    Definition Classes
    Codec
  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).

    Definition Classes
    Codec
  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.

    Definition Classes
    Codec
  24. def protocolLibraryName: String

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

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

    Definition Classes
    Codec
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toStackClient: StackClient[Req, Rep]

    Converts this codec into a StackClient.

    Converts this codec into a StackClient.

    Definition Classes
    Codec
  27. def toStackServer: StackServer[Req, Rep]

    Converts this codec into a StackServer.

    Converts this codec into a StackServer.

    Definition Classes
    Codec
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Codec[Req, Rep]

Inherited from AnyRef

Inherited from Any

Ungrouped