Class: Dtn::Messages::System::EndOfMessageCharacters

Inherits:
MessageWithSimpleParser show all
Defined in:
lib/dtn/messages/system/end_of_message_characters.rb

Overview

End of the message abstraction.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from MessageWithSimpleParser

parse

Methods inherited from Dtn::Message

#callback_name, callback_name, parse

Class Method Details

.fieldsObject



9
10
11
12
13
# File 'lib/dtn/messages/system/end_of_message_characters.rb', line 9

def fields
  @fields ||= {
    request_id: :to_i
  }
end

Instance Method Details

#termination?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/dtn/messages/system/end_of_message_characters.rb', line 16

def termination?
  true
end