Class: Fix::Protocol::Messages::ResendRequest

Inherits:
Fix::Protocol::Message show all
Defined in:
lib/fix/protocol/messages/resend_request.rb

Overview

A FIX resend request message, see www.onixs.biz/fix-dictionary/4.4/msgType_2_2.html

Instance Attribute Summary

Attributes inherited from Fix::Protocol::MessagePart

#delegations, #name, #parse_failure

Instance Method Summary collapse

Methods inherited from Fix::Protocol::Message

#dump, #initialize, #valid?

Methods inherited from Fix::Protocol::MessagePart

collection, #dump, field, inherited, #initialize, #initialize_node, #node_for_name, #nodes, parent_delegate, #parse, parse, part, structure, unordered

Constructor Details

This class inherits a constructor from Fix::Protocol::Message

Instance Method Details

#errorsArray

Returns the logon-specific errors

Returns:

  • (Array)

     The error messages


20
21
22
23
24
# File 'lib/fix/protocol/messages/resend_request.rb', line 20

def errors
  e = []
  e << "EndSeqNo must either be 0 (inifinity) or be >= BeginSeqNo" unless (end_seq_no.zero? || (end_seq_no >= begin_seq_no))
  [super, e].flatten
end