TibrvMsgView.getFieldByIndex()

Method

Declaration

TibrvMsgField getFieldByIndex(int fieldIndex)
  throws ArrayIndexOutOfBoundsException TibrvException

Purpose

Get a field from a snapshot message view by an index.

Remarks

Programs can loop through all the fields of a message, to retrieve each field in turn using an integer index.

The method TibrvMsgView.extract() creates field objects for each field of the message snapshot. This returns one of those field objects.

Parameter

Description

fieldIndex

Get the field with this index. Zero specifies the first field.

See Also

TibrvMsgView

TibrvMsgView.get()