The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Protocol::FIX::MessageInstance - handy accessor for deserialized FIX message

METHODS

new

    new($class, $message, $tags_accessor)

Creates new Message Instance (performed by Parser)

value

    value($self, $name)

Tiny wrapper of tag-accessors for direcly accessed message fileds.

If $name refers to field, then it returns field value.

If $name refers to component, it returns TagAccessor, where value method can me invoked, i.e.

  $mi->value('Component')->value('Field')

If $name refers to (repetitive) group, then it returns array of TagAccessors, i.e.

  $mi->value('Group')->[0]->value('Field')

If field/component/group are not found in stream, or are not direclty available in message definition, undef will be returned.

name

    name($self, $name)

Returns message name, e.g. LogOn

category

    category($self, $name)

Returns message category, e.g. app or admin