Class: Majoron::AntHill::SMPP::Header
- Inherits:
-
Object
- Object
- Majoron::AntHill::SMPP::Header
- Defined in:
- lib/smpp_structures.rb
Overview
Class describe SMPP header
Instance Attribute Summary collapse
-
#command_id ⇒ Object
Returns the value of attribute command_id.
-
#command_length ⇒ Object
Public accessors.
-
#command_status ⇒ Object
Returns the value of attribute command_status.
-
#sequence_number ⇒ Object
Returns the value of attribute sequence_number.
Instance Method Summary collapse
-
#initialize ⇒ Header
constructor
Constructor.
Constructor Details
#initialize ⇒ Header
Constructor.
25 26 27 28 29 30 |
# File 'lib/smpp_structures.rb', line 25 def initialize() @command_length = 0 @command_id = 0 @command_status = 0 @sequence_number = 0 end |
Instance Attribute Details
#command_id ⇒ Object
Returns the value of attribute command_id.
34 35 36 |
# File 'lib/smpp_structures.rb', line 34 def command_id @command_id end |
#command_length ⇒ Object
Public accessors
33 34 35 |
# File 'lib/smpp_structures.rb', line 33 def command_length @command_length end |
#command_status ⇒ Object
Returns the value of attribute command_status.
35 36 37 |
# File 'lib/smpp_structures.rb', line 35 def command_status @command_status end |
#sequence_number ⇒ Object
Returns the value of attribute sequence_number.
36 37 38 |
# File 'lib/smpp_structures.rb', line 36 def sequence_number @sequence_number end |