Class: Majoron::AntHill::SMPP::Header

Inherits:
Object
  • Object
show all
Defined in:
lib/smpp_structures.rb

Overview

Class describe SMPP header

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHeader

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_idObject

Returns the value of attribute command_id.



34
35
36
# File 'lib/smpp_structures.rb', line 34

def command_id
  @command_id
end

#command_lengthObject

Public accessors



33
34
35
# File 'lib/smpp_structures.rb', line 33

def command_length
  @command_length
end

#command_statusObject

Returns the value of attribute command_status.



35
36
37
# File 'lib/smpp_structures.rb', line 35

def command_status
  @command_status
end

#sequence_numberObject

Returns the value of attribute sequence_number.



36
37
38
# File 'lib/smpp_structures.rb', line 36

def sequence_number
  @sequence_number
end