Sha256: c13a6972311964474c56df7524cc2fa9f4adbf309d144d7bc30a03f894dd22c8

Contents?: true

Size: 674 Bytes

Versions: 36

Compression:

Stored size: 674 Bytes

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   union switch (IPAddrType type)
#       {
#       case IPv4:
#           opaque ipv4[4];
#       case IPv6:
#           opaque ipv6[16];
#       }
#
# ===========================================================================
module Stellar
  class PeerAddress
    class Ip < XDR::Union
      switch_on IPAddrType, :type

      switch :i_pv4, :ipv4
      switch :i_pv6, :ipv6

      attribute :ipv4, XDR::Opaque[4]
      attribute :ipv6, XDR::Opaque[16]
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/peer_address/ip.rb
stellar-base-0.31.0 generated/stellar/peer_address/ip.rb
stellar-base-0.30.0 generated/stellar/peer_address/ip.rb
stellar-base-0.29.0 generated/stellar/peer_address/ip.rb
stellar-base-0.28.0 generated/stellar/peer_address/ip.rb
stellar-base-0.27.0 generated/stellar/peer_address/ip.rb
stellar-base-0.26.0 generated/stellar/peer_address/ip.rb
stellar-base-0.25.0 generated/stellar/peer_address/ip.rb
stellar-base-0.24.0 generated/stellar/peer_address/ip.rb
stellar-base-0.24.0.pre.1 generated/stellar/peer_address/ip.rb
stellar-base-0.23.1 generated/stellar/peer_address/ip.rb
stellar-base-0.23.0 generated/stellar/peer_address/ip.rb
stellar-base-0.23.0.rc2 generated/stellar/peer_address/ip.rb
stellar-base-0.23.0.rc1 generated/stellar/peer_address/ip.rb
stellar-base-0.23.0.pre1 generated/stellar/peer_address/ip.rb
stellar-base-0.22.0 generated/stellar/peer_address/ip.rb
stellar-base-0.21.0 generated/stellar/peer_address/ip.rb
stellar-base-0.20.0 generated/stellar/peer_address/ip.rb
stellar-base-0.19.0 generated/stellar/peer_address/ip.rb
stellar-base-0.18.0 generated/stellar/peer_address/ip.rb