Module: RTor::DirspecV2::RouterDescriptor::RouterItem0

Defined in:
lib/rtor/dirspecv2/router_descriptor_parser.rb

Instance Method Summary collapse

Instance Method Details

#AddressObject



50
51
52
# File 'lib/rtor/dirspecv2/router_descriptor_parser.rb', line 50

def Address
  elements[2]
end

#DirPortObject



62
63
64
# File 'lib/rtor/dirspecv2/router_descriptor_parser.rb', line 62

def DirPort
  elements[5]
end

#NicknameObject



46
47
48
# File 'lib/rtor/dirspecv2/router_descriptor_parser.rb', line 46

def Nickname
  elements[1]
end

#ORPortObject



54
55
56
# File 'lib/rtor/dirspecv2/router_descriptor_parser.rb', line 54

def ORPort
  elements[3]
end

#SocksPortObject



58
59
60
# File 'lib/rtor/dirspecv2/router_descriptor_parser.rb', line 58

def SocksPort
  elements[4]
end