Sha256: ff214f908b212354e3f05bdfc7faffe1d6e63507b09b832b80228d8123fe7eed

Contents?: true

Size: 730 Bytes

Versions: 4

Compression:

Stored size: 730 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct PeerAddress
#   {
#       union switch (IPAddrType type)
#       {
#       case IPv4:
#           opaque ipv4[4];
#       case IPv6:
#           opaque ipv6[16];
#       } ip;
#       uint32 port;
#       uint32 numFailures;
#   };
#
# ===========================================================================
module Stellar
  class PeerAddress < XDR::Struct
    include XDR::Namespace

    autoload :Ip

    attribute :ip,           Ip
    attribute :port,         Uint32
    attribute :num_failures, Uint32
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stellar-base-0.8.0 generated/stellar/peer_address.rb
stellar-base-0.7.0 generated/stellar/peer_address.rb
stellar-base-0.6.1 generated/stellar/peer_address.rb
stellar-base-0.6.0 generated/stellar/peer_address.rb