Class: PacketViaDMEM::Sent
Instance Attribute Summary
Attributes inherited from Packet
#header, #original, #packet, #popped, #type
Instance Method Summary collapse
-
#initialize(packet, log) ⇒ Sent
constructor
A new instance of Sent.
Methods inherited from Packet
#pop, #pretty, #pretty_original, #pretty_packet, #to_s
Constructor Details
#initialize(packet, log) ⇒ Sent
Returns a new instance of Sent.
5 6 7 8 9 10 11 |
# File 'lib/packet_via_dmem/sent.rb', line 5 def initialize packet, log @log = log @type = :sent @original = packet.dup @header = Header::Sent.new @popped, @packet = parse_packet packet end |