|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageProvider
The 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.
Method Summary | |
---|---|
boolean |
retrieveMessages(MessageVisitor visitor)
Retrieves accumulated message into specified message visitor. |
void |
setMessageListener(MessageListener listener)
Sets new message listener to receive notifications about messages. |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |