Class: MessageBus::Client
- Inherits:
-
Object
- Object
- MessageBus::Client
- Includes:
- Configuration, Connection, MessageHandler
- Defined in:
- lib/message_bus/client/version.rb,
lib/message_bus/client.rb
Defined Under Namespace
Modules: Configuration, Connection, MessageHandler
Constant Summary collapse
- VERSION =
'0.1.0'
Constants included from MessageHandler
MessageHandler::CHUNK_SEPARATOR
Constants included from Connection
Connection::INITIALISED, Connection::PAUSED, Connection::STARTED, Connection::STOPPED, Connection::STOPPING
Instance Method Summary collapse
-
#initialize(base_url) ⇒ Client
constructor
A new instance of Client.
Methods included from MessageHandler
Methods included from Connection
#diagnostics, #pause, #paused?, #resume, #start, #stop, #stopped?
Methods included from Configuration
Constructor Details
#initialize(base_url) ⇒ Client
Returns a new instance of Client.
14 15 16 17 |
# File 'lib/message_bus/client.rb', line 14 def initialize(base_url) super @client_id = SecureRandom.uuid end |