Class: ModSpox::Messages::Internal::ConnectionFailed
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::ConnectionFailed
- Defined in:
- lib/mod_spox/messages/internal/ConnectionFailed.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
readonly
port attempted.
-
#reason ⇒ Object
readonly
reason for failure.
-
#server ⇒ Object
readonly
server attempted.
Instance Method Summary collapse
-
#initialize(server, port, reason = nil) ⇒ ConnectionFailed
constructor
- server
- server attempted to connect port
-
port attempted to connect on reason: reason for failed connection Failed connection to the server.
Constructor Details
#initialize(server, port, reason = nil) ⇒ ConnectionFailed
- server
-
server attempted to connect
- port
-
port attempted to connect on
reason: reason for failed connection Failed connection to the server
15 16 17 18 19 |
# File 'lib/mod_spox/messages/internal/ConnectionFailed.rb', line 15 def initialize(server, port, reason=nil) @server = server @port = port @reason = reason end |
Instance Attribute Details
#port ⇒ Object (readonly)
port attempted
8 9 10 |
# File 'lib/mod_spox/messages/internal/ConnectionFailed.rb', line 8 def port @port end |
#reason ⇒ Object (readonly)
reason for failure
10 11 12 |
# File 'lib/mod_spox/messages/internal/ConnectionFailed.rb', line 10 def reason @reason end |
#server ⇒ Object (readonly)
server attempted
6 7 8 |
# File 'lib/mod_spox/messages/internal/ConnectionFailed.rb', line 6 def server @server end |