- /*
- * This hash table keeps the state of a stream as viewed by this
- * message iterator. This is used, in developer mode, to make
- * sure that, once the message iterator has seen a "stream end"
- * message for a given stream, no other messages which refer to
- * this stream can be delivered by this iterator. It is also
- * used to check for a valid sequence of messages.
- *
- * The key (struct bt_stream *) is not owned by this. The value
- * is an allocated state structure.
- */
- GHashTable *stream_states;
+ struct {
+ bt_self_component_port_input_message_iterator_next_method next;
+ bt_self_component_port_input_message_iterator_seek_ns_from_origin_method seek_ns_from_origin;
+ bt_self_component_port_input_message_iterator_seek_beginning_method seek_beginning;
+ bt_self_component_port_input_message_iterator_can_seek_ns_from_origin_method can_seek_ns_from_origin;
+ bt_self_component_port_input_message_iterator_can_seek_beginning_method can_seek_beginning;
+ } methods;