Class: LIS::Message::Terminator

Inherits:
Base
  • Object
show all
Defined in:
lib/lis/messages/terminator.rb

Overview

Terminator Message

Last message sent in a transaction, contains termination codes.

Message Examples

5L|1|N

Message Structure

  1. Record Type ID (L)

  2. Sequence Number

  3. Termination Code

Constant Summary collapse

TERMINATION_CODES =
{
  "N" => "Normal termination",
  "T" => "Sender Aborted",
  "R" => "Receiver Abort",
  "E" => "Unknown system error",
  "Q" => "Error in last request for information",
  "I" => "No information available from last query",
  "F" => "Last request for information Processed"
}

Constants included from ClassMethods

ClassMethods::CONVERSION_WRITER

Method Summary

Methods inherited from Base

from_string, #to_message, #type_id

Methods included from ClassMethods

#default_fields, #field_count, #get_field_attributes, #get_index_for, #has_field, #set_field_attributes, #set_index_for, #type_id