Class: ActiveCypher::Bolt::Messaging::EmptyMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/active_cypher/bolt/messaging.rb

Overview

Base for messages that carry no fields at all. Subclasses only need to define their SIGNATURE.

Direct Known Subclasses

Commit, Goodbye, Ignored, Logoff, Reset, Rollback

Instance Attribute Summary

Attributes inherited from Message

#fields, #signature

Instance Method Summary collapse

Methods inherited from Message

#==, inherited

Constructor Details

#initializeEmptyMessage

Returns a new instance of EmptyMessage.



86
87
88
# File 'lib/active_cypher/bolt/messaging.rb', line 86

def initialize
  super(self.class::SIGNATURE, [])
end