Class: ActiveCypher::Bolt::Messaging::Hello
- Defined in:
- lib/active_cypher/bolt/messaging.rb
Overview
The HELLO message. Because every protocol needs to start with a greeting before the disappointment.
Constant Summary collapse
- SIGNATURE =
0x01
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Hello
constructor
A new instance of Hello.
- #metadata ⇒ Object
Methods inherited from Message
Constructor Details
#initialize(metadata) ⇒ Hello
Returns a new instance of Hello.
74 75 76 77 |
# File 'lib/active_cypher/bolt/messaging.rb', line 74 def initialize() = Messaging.normalize_map() super(SIGNATURE, []) end |
Instance Method Details
#metadata ⇒ Object
79 80 81 |
# File 'lib/active_cypher/bolt/messaging.rb', line 79 def fields.first end |