class Pione::Location::NotificationMulticastScheme
‘NotificationMulticastScheme` is a scheme for PIONE notification protocol using UDP multicast.
@example
URI.parse("pnm://239.1.2.3:56000") URI.parse("pnm://239.1.2.4.56000?if=192.168.100.100")
Constants
- COMPONENT
Public Instance Methods
interface()
click to toggle source
# File lib/pione/location/notification-scheme.rb, line 30 def interface query_table["if"] if query end
Private Instance Methods
query_table()
click to toggle source
# File lib/pione/location/notification-scheme.rb, line 36 def query_table if query query.split("&").each_with_object({}) do |part, table| key, val = part.split("=") table[key] = val end end end