TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.tptp.test.provisional.recorder.framework
Interface IRecorderMessageProvider

All Superinterfaces:
IRecorderProvider
All Known Implementing Classes:
AbstractRecorderMessageProvider, HttpRecorderDataProcessor

public interface IRecorderMessageProvider
extends IRecorderProvider

A recorder provider to provide additonal interpreters for incoming messages. An IRecorderMessageProvider interprets messages sent from the RecorderAgent over the data channel. These messages are specified as a message (String) or data (a byte[]) and processed by the appropriate handler message. The implementing provider can then break down the data further into subcategories For an example of this:

See Also:
AbstractRecorderMessageProvider

Method Summary
 void complete()
           
 void initialize()
           
 boolean processDataFromDataProcessor(byte[] data)
           
 boolean processMessage(java.lang.String str)
          Called via the data processor to process a control string from the agent.
 
Methods inherited from interface org.eclipse.tptp.test.provisional.recorder.framework.IRecorderProvider
getRecorder, getRecorderID, setRecorder, setRecorder
 

Method Detail

processMessage

public boolean processMessage(java.lang.String str)
Called via the data processor to process a control string from the agent. If using AbstractRecorderMessageProvider, if none of the default messages were handled, then processCustomMessages(String) is called.

Parameters:
str -
Returns:
true if the message is handled

processDataFromDataProcessor

public boolean processDataFromDataProcessor(byte[] data)
Parameters:
data -
Returns:

initialize

public void initialize()
                throws java.io.IOException
Throws:
java.io.IOException

complete

public void complete()

TPTP 4.3.0 Testing Tools Project
Public API Specification