Class: Fix::Protocol::Messages::Logon
- Inherits:
-
Fix::Protocol::Message
- Object
- Fix::Protocol::MessagePart
- Fix::Protocol::Message
- Fix::Protocol::Messages::Logon
- Defined in:
- lib/fix/protocol/messages/logon.rb
Overview
A FIX logon message
Instance Attribute Summary
Attributes inherited from Fix::Protocol::MessagePart
Instance Method Summary collapse
-
#errors ⇒ Array
Returns the logon-specific errors.
Methods inherited from Fix::Protocol::Message
Methods inherited from Fix::Protocol::MessagePart
collection, #dump, field, inherited, #initialize, #initialize_node, #node_for_name, #nodes, parse, #parse, part, structure
Constructor Details
This class inherits a constructor from Fix::Protocol::Message
Instance Method Details
#errors ⇒ Array
Returns the logon-specific errors
20 21 22 23 24 25 |
# File 'lib/fix/protocol/messages/logon.rb', line 20 def errors e = [] e << "Encryption is not supported, the transport level should handle it" unless (encrypt_method == 0) e << "Heartbeat interval should be between 10 and 60 seconds" unless heart_bt_int && heart_bt_int <= 60 && heart_bt_int >= 10 [super, e].flatten end |