Sha256: 350add66ac737730836616cd38ddf377923572b1072458d19e7d4d01b1b1e7eb

Contents?: true

Size: 943 Bytes

Versions: 1

Compression:

Stored size: 943 Bytes

Contents

require 'bundler/setup'
require 'nn-core'

module NNCore
  SOCKET_OPTIONS = {
    :NN_LINGER => NN_LINGER,
    :NN_SNDBUF => NN_SNDBUF,
    :NN_RCVBUF => NN_RCVBUF,
    :NN_SENDTIMEO => NN_SNDTIMEO,
    :NN_RCVTIMEO => NN_RCVTIMEO,
    :NN_RECONNECT_IVL => NN_RECONNECT_IVL,
    :NN_RECONNECT_IVL_MAX => NN_RECONNECT_IVL_MAX,
    :NN_SNDPRIO => NN_SNDPRIO
  }
  
  PROTOCOLS = {
    :NN_PUB => NN_PUB,
    :NN_SUB => NN_SUB,
    :NN_BUS => NN_BUS,
    :NN_PAIR => NN_PAIR,
    :NN_REQ => NN_REQ,
    :NN_REP => NN_REP,
    :NN_SOURCE => NN_SOURCE,
    :NN_SINK => NN_SINK,
    :NN_PUSH => NN_PUSH,
    :NN_PULL => NN_PULL,
    :NN_SURVEYOR => NN_SURVEYOR,
    :NN_RESPONDENT => NN_RESPONDENT
  }
  
  ADDRESS_FAMILIES = {
    :AF_SP => AF_SP,
    :AF_SP_RAW => AF_SP_RAW
  }
  
  # Some protocols support the AF_SP_RAW address family, so we need to skip those
  # tests that are expecting a failure.
  RAW_UNSUPPORTED = [:NN_PUB, :NN_SUB]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nn-core-0.1.5 spec/spec_helper.rb