Class: OnStomp::Failover::URI::FAILOVER
- Inherits:
-
Components::URI::STOMP
- Object
- URI::Generic
- Components::URI::STOMP
- OnStomp::Failover::URI::FAILOVER
- Defined in:
- lib/onstomp/failover/uri.rb
Overview
A URI class for representing URIs with a ‘failover’ scheme.
Constant Summary collapse
- FAILOVER_OPAQUE_REG =
Matches the internal URIs and query contained in the
opaque
part of a failover: URI /^\(([^\)]+)\)(?:\?(.*))?/
Constants inherited from Components::URI::STOMP
Components::URI::STOMP::DEFAULT_PORT
Instance Attribute Summary collapse
-
#failover_uris ⇒ Object
readonly
Returns the value of attribute failover_uris.
Instance Method Summary collapse
-
#initialize(*args) ⇒ FAILOVER
constructor
A new instance of FAILOVER.
Methods inherited from Components::URI::STOMP
Constructor Details
#initialize(*args) ⇒ FAILOVER
Returns a new instance of FAILOVER.
12 13 14 15 |
# File 'lib/onstomp/failover/uri.rb', line 12 def initialize(*args) super _split_opaque_ end |
Instance Attribute Details
#failover_uris ⇒ Object (readonly)
Returns the value of attribute failover_uris.
11 12 13 |
# File 'lib/onstomp/failover/uri.rb', line 11 def failover_uris @failover_uris end |