Class: Empp::MsgDelivery

Inherits:
EmppBase show all
Defined in:
lib/empp/msg_delivery.rb

Instance Attribute Summary collapse

Attributes inherited from EmppBase

#command_id, #sequence_id, #total_length

Instance Method Summary collapse

Constructor Details

#initializeMsgDelivery

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_idObject

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_contentObject

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_formatObject

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_idObject

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_lengthObject

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_deliveryObject

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_idObject

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_idObject

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_sObject



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