Sha256: 09329fcc3f4a7ffff5bc02cff06a84ad1a3e40a85f75d573b6a4917dcfb12206

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

##
# Encapsulates the conversion of an aggregate packet into a BaseNameMap, our
# internal representation of the fields in an aggregate packet

module Cosmos
class AggregatePacketMapper

  ##
  # Builds a BaseNameMap from a cosmos aggregate packet
  def build_map(packet)
    BaseNameMap.new({}, packet.packet_name)
  end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cosmos-unpacking_interface-1.0.0 lib/cosmos/unpacking_interface/aggregate_packet_mapper.rb