Class: Empp::MsgDelivery
Instance Attribute Summary collapse
-
#dest_id ⇒ Object
Returns the value of attribute dest_id.
-
#msg_content ⇒ Object
Returns the value of attribute msg_content.
-
#msg_format ⇒ Object
Returns the value of attribute msg_format.
-
#msg_id ⇒ Object
Returns the value of attribute msg_id.
-
#msg_length ⇒ Object
Returns the value of attribute msg_length.
-
#registered_delivery ⇒ Object
Returns the value of attribute registered_delivery.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#src_terminal_id ⇒ Object
Returns the value of attribute src_terminal_id.
Attributes inherited from EmppBase
#command_id, #sequence_id, #total_length
Instance Method Summary collapse
-
#initialize ⇒ MsgDelivery
constructor
A new instance of MsgDelivery.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ MsgDelivery
Returns a new instance of MsgDelivery.
10 11 12 |
# File 'lib/empp/msg_delivery.rb', line 10 def initialize @command_id = Constants::EMPP_DELIVER end |
Instance Attribute Details
#dest_id ⇒ Object
Returns the value of attribute dest_id.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def dest_id @dest_id end |
#msg_content ⇒ Object
Returns the value of attribute msg_content.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def msg_content @msg_content end |
#msg_format ⇒ Object
Returns the value of attribute msg_format.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def msg_format @msg_format end |
#msg_id ⇒ Object
Returns the value of attribute msg_id.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def msg_id @msg_id end |
#msg_length ⇒ Object
Returns the value of attribute msg_length.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def msg_length @msg_length end |
#registered_delivery ⇒ Object
Returns the value of attribute registered_delivery.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def registered_delivery @registered_delivery end |
#service_id ⇒ Object
Returns the value of attribute service_id.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def service_id @service_id end |
#src_terminal_id ⇒ Object
Returns the value of attribute src_terminal_id.
8 9 10 |
# File 'lib/empp/msg_delivery.rb', line 8 def src_terminal_id @src_terminal_id end |
Instance Method Details
#to_s ⇒ Object
14 15 16 17 |
# File 'lib/empp/msg_delivery.rb', line 14 def to_s str = super str + "msg_id=#{@msg_id}, dest_id=#{@dest_id}, service_id=#{@service_id}, msg_format=#{@msg_format}, src_terminal_id=#{@src_terminal_id}, msg_length=#{@msg_length}, msg_content=#{@msg_content}" end |