Class: ModSpox::Messages::Incoming::Bounce

Inherits:
Message
  • Object
show all
Defined in:
lib/mod_spox/messages/incoming/Bounce.rb

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, server, port) ⇒ Bounce

Returns a new instance of Bounce.



10
11
12
13
14
# File 'lib/mod_spox/messages/incoming/Bounce.rb', line 10

def initialize(raw, server, port)
    super(raw)
    @server = server
    @port = port
end

Instance Attribute Details

#portObject (readonly)

port to connect to



9
10
11
# File 'lib/mod_spox/messages/incoming/Bounce.rb', line 9

def port
  @port
end

#serverObject (readonly)

server to connect to



7
8
9
# File 'lib/mod_spox/messages/incoming/Bounce.rb', line 7

def server
  @server
end