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.
169 170 171 172 173 |
# File 'lib/cql/client/connection_helper.rb', line 169 def initialize(error, host, port) @error = error @host = host @port = port end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
167 168 169 |
# File 'lib/cql/client/connection_helper.rb', line 167 def error @error end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
167 168 169 |
# File 'lib/cql/client/connection_helper.rb', line 167 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
167 168 169 |
# File 'lib/cql/client/connection_helper.rb', line 167 def port @port end |
Instance Method Details
#connected? ⇒ Boolean
175 176 177 |
# File 'lib/cql/client/connection_helper.rb', line 175 def connected? false end |