Class: Cql::Client::ConnectionHelper::FailedConnection
- Inherits:
-
Object
- Object
- Cql::Client::ConnectionHelper::FailedConnection
- Defined in:
- lib/cql/client/connection_helper.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
Instance Method Summary collapse
- #connected? ⇒ Boolean
-
#initialize(error, host, port) ⇒ FailedConnection
constructor
A new instance of FailedConnection.
Constructor Details
#initialize(error, host, port) ⇒ FailedConnection
Returns a new instance of FailedConnection.
146 147 148 149 150 |
# File 'lib/cql/client/connection_helper.rb', line 146 def initialize(error, host, port) @error = error @host = host @port = port end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
144 145 146 |
# File 'lib/cql/client/connection_helper.rb', line 144 def error @error end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
144 145 146 |
# File 'lib/cql/client/connection_helper.rb', line 144 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
144 145 146 |
# File 'lib/cql/client/connection_helper.rb', line 144 def port @port end |
Instance Method Details
#connected? ⇒ Boolean
152 153 154 |
# File 'lib/cql/client/connection_helper.rb', line 152 def connected? false end |