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.17.0 generated/stellar/peer_address/ip.rb
stellar-base-0.16.0 generated/stellar/peer_address/ip.rb
stellar-base-0.15.0 generated/stellar/peer_address/ip.rb
stellar-base-0.14.0 generated/stellar/peer_address/ip.rb
stellar-base-0.13.0 generated/stellar/peer_address/ip.rb
stellar-base-0.12.0 generated/stellar/peer_address/ip.rb
stellar-base-0.11.0 generated/stellar/peer_address/ip.rb
auction-ruby-base-0.1.3 generated/stellar/peer_address/ip.rb
auction-ruby-base-0.1.2 generated/stellar/peer_address/ip.rb
auction-ruby-base-0.1.1 generated/stellar/peer_address/ip.rb
stellar-base-0.10.0 generated/stellar/peer_address/ip.rb
stellar-base-0.9.0 generated/stellar/peer_address/ip.rb
stellar-base-0.8.0 generated/stellar/peer_address/ip.rb
stellar-base-0.7.0 generated/stellar/peer_address/ip.rb
stellar-base-0.6.1 generated/stellar/peer_address/ip.rb
stellar-base-0.6.0 generated/stellar/peer_address/ip.rb