Class: ModSpox::Messages::Outgoing::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Links.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(server, mask) ⇒ Links

server

remote server

mask

server mask

List all servernames known by the server answering the query



12
13
14
15
# File 'lib/mod_spox/messages/outgoing/Links.rb', line 12

def initialize(server, mask)
    @server = server
    @mask = mask
end

Instance Attribute Details

#maskObject (readonly)

server mask



8
9
10
# File 'lib/mod_spox/messages/outgoing/Links.rb', line 8

def mask
  @mask
end

#serverObject (readonly)

remote server



6
7
8
# File 'lib/mod_spox/messages/outgoing/Links.rb', line 6

def server
  @server
end