Class: ModSpox::Messages::Incoming::Bounce
- Defined in:
- lib/mod_spox/messages/incoming/Bounce.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
readonly
port to connect to.
-
#server ⇒ Object
readonly
server to connect to.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, server, port) ⇒ Bounce
constructor
A new instance of Bounce.
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
#port ⇒ Object (readonly)
port to connect to
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Bounce.rb', line 9 def port @port end |
#server ⇒ Object (readonly)
server to connect to
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Bounce.rb', line 7 def server @server end |