Class: FinagleThrift::Endpoint

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/finagle-thrift/thrift/tracing_types.rb

Constant Summary collapse

IPV4 =
1
PORT =
2
SERVICE_NAME =
3
FIELDS =
{
  IPV4 => {:type => ::Thrift::Types::I32, :name => 'ipv4'},
  PORT => {:type => ::Thrift::Types::I16, :name => 'port'},
  SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



33
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 33

def struct_fields; FIELDS; end

#validateObject



35
36
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 35

def validate
end