module Fix::Engine

Main Fix::Engine namespace

Constants

DEFAULT_IP

The default IP on which the server will listen

DEFAULT_PORT

The default port on which the server will listen

VERSION

The fix-engine gem version string

Public Class Methods

alias_namespace!() click to toggle source

Alias the Fix::Engine namespace to FE if possible, because lazy is not necessarily dirty

# File lib/fix/engine.rb, line 31
def self.alias_namespace!
  Object.const_set(:FE, Engine) unless Object.const_defined?(:FE)
end
run!(ip = DEFAULT_IP, port = DEFAULT_PORT, handler = FE::ServerConnection, &block) click to toggle source

Runs a FIX server engine

# File lib/fix/engine.rb, line 24
def self.run!(ip = DEFAULT_IP, port = DEFAULT_PORT, handler = FE::ServerConnection, &block)
  Server.new(ip, port, handler, &block).run!
end