Object/Trait

com.twitter.finagle.thrift.thriftscala

Endpoint

Related Docs: trait Endpoint | package thriftscala

Permalink

object Endpoint extends ValidatingThriftStructCodec3[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, ValidatingThriftStructCodec3[Endpoint], ThriftStructCodec3[Endpoint], ThriftStructCodec[Endpoint], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Endpoint
  2. Serializable
  3. Serializable
  4. ValidatingThriftStructCodec3
  5. ThriftStructCodec3
  6. ThriftStructCodec
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Endpoint

    Permalink

    The default read-only implementation of Endpoint.

    The default read-only implementation of Endpoint. You typically should not need to directly reference this class; instead, use the Endpoint.apply method to construct new instances.

  2. trait Proxy extends Endpoint

    Permalink

    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: 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. object Immutable extends ThriftStructCodec3[Endpoint] with Serializable

    Permalink
  5. val Ipv4Field: TField

    Permalink
  6. val Ipv4FieldManifest: Manifest[Int]

    Permalink
  7. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  8. val PortField: TField

    Permalink
  9. val PortFieldManifest: Manifest[Short]

    Permalink
  10. val ServiceNameField: TField

    Permalink
  11. val ServiceNameFieldManifest: Manifest[String]

    Permalink
  12. val Struct: TStruct

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

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    Endpoint → ThriftStructCodec
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink

    Field information in declaration order.

  21. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

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

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

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

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

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

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

    Permalink
  34. def validate(_item: Endpoint): Unit

    Permalink

    Checks that all required fields are non-null.

  35. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  36. def validateNewInstance(item: Endpoint): Seq[Issue]

    Permalink

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Endpoint → ValidatingThriftStructCodec3
  37. final def wait(): Unit

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from ValidatingThriftStructCodec3[Endpoint]

Inherited from ThriftStructCodec3[Endpoint]

Inherited from ThriftStructCodec[Endpoint]

Inherited from AnyRef

Inherited from Any

Ungrouped