com.twitter.finagle.thrift.thriftscala

Endpoint

object Endpoint extends ThriftStructCodec3[Endpoint] with Serializable

Indicates the network context of a service recording an annotation with two exceptions.

When a BinaryAnnotation, and key is CLIENT_ADDR or SERVER_ADDR, the endpoint indicates the source or destination of an RPC. This exception allows zipkin to display network context of uninstrumented services, or clients such as web browsers.

Linear Supertypes
Serializable, Serializable, ThriftStructCodec3[Endpoint], ThriftStructCodec[Endpoint], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Endpoint
  2. Serializable
  3. Serializable
  4. ThriftStructCodec3
  5. ThriftStructCodec
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Endpoint

    The default read-only implementation of Endpoint.

  2. trait Proxy extends Endpoint

    This Proxy trait allows you to extend the Endpoint trait with additional state or behavior and implement the read-only methods from Endpoint using an underlying instance.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Immutable extends ThriftStructCodec3[Endpoint] with Serializable

  7. val Ipv4Field: TField

  8. val Ipv4FieldManifest: Manifest[Int]

  9. val PortField: TField

  10. val PortFieldManifest: Manifest[Short]

  11. val ServiceNameField: TField

  12. val ServiceNameFieldManifest: Manifest[String]

  13. val Struct: TStruct

  14. def apply(ipv4: Int, port: Short, serviceName: String): Endpoint

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def decode(_iprot: TProtocol): Endpoint

    Definition Classes
    Endpoint → ThriftStructCodec
  18. val decoder: (TProtocol) ⇒ Endpoint

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  19. def encode(_item: Endpoint, _oproto: TProtocol): Unit

    Definition Classes
    Endpoint → ThriftStructCodec
  20. val encoder: (Endpoint, TProtocol) ⇒ Unit

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  21. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  23. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  24. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  28. lazy val metaData: ThriftStructMetaData[Endpoint]

    Definition Classes
    ThriftStructCodec
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. lazy val structAnnotations: Map[String, String]

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

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def ttypeToString(byte: Byte): String

    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  36. def unapply(_item: Endpoint): Option[Product3[Int, Short, String]]

  37. def validate(_item: Endpoint): Unit

    Checks that all required fields are non-null.

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withoutPassthroughFields(original: Endpoint): Endpoint

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[Endpoint]

Inherited from ThriftStructCodec[Endpoint]

Inherited from AnyRef

Inherited from Any

Ungrouped