public interface MessageProvider
MessageProvider
provides QTP messages.
It shall be implemented by an agent of some entity to be used by standard QTP connectors.
Its methods are invoked when QTP connector is ready to send some messages,
usually from threads allocated internally by used QTP connector.Modifier and Type | Method and Description |
---|---|
boolean |
retrieveMessages(MessageVisitor visitor)
Retrieves accumulated message into specified message visitor.
|
void |
setMessageListener(MessageListener listener)
Sets new message listener to receive notifications about messages.
|
boolean retrieveMessages(MessageVisitor visitor)
true
if some messages still remains in the provider
or false
if all accumulated messages were retrieved.void setMessageListener(MessageListener listener)
null
to set empty message listener (no notifications).
NOTE: if there is accumulated data available, then specified listener will be notified by this method.
Copyright © 2002–2025 Devexperts LLC. All rights reserved.