public interface IC2ProtocolHandler
IC2ProtocolHandler
are used to represent
each extension that is to be used to process the .recmodel on behalf
of a certain protocol. Here, "protocol" means more than just a name
such as "HTTP", or "Socket". Here "protocol" refers to
lt.trace.Msg objects that have protocol, vendor, and version
properties that you are prepared to process.Modifier and Type | Interface and Description |
---|---|
static class |
IC2ProtocolHandler.LoadResponse
LoadResponse is a typesafe enum used as the return value for the load()
method.
|
Modifier and Type | Method and Description |
---|---|
void |
complete()
This method will be called after the call to process() has been performed.
|
void |
init()
This is the first method within the protocol handler that will be
called by the testgen core.
|
IC2ProtocolHandler.LoadResponse |
load(Msg msg)
This is the second method within the protocol handler that will be
called by the testgen core.
|
void |
process(LTTest ltTest)
This method will be called after all calls to load() have been performed.
|
void |
terminate()
This method may be called after the calls to load() have been performed.
|
void init() throws C2InitializationException
C2InitializationException
- if an error occurs during initialization.IC2ProtocolHandler.LoadResponse load(Msg msg) throws C2TestgenException
msg
- a com.ibm.rational.test.lt.trace.Msg objectC2TestgenException
- if an error occurs during load.void process(LTTest ltTest) throws C2TestgenException
ltTest
- a com.ibm.rational.test.lt.models.behavior.lttest.LTTest object
that represents the testsuiteTestgenException
- if an error occurs during processingC2TestgenException
void complete() throws C2TestgenException
TestgenException
- if an error occurs during processingC2TestgenException
void terminate() throws C2TestgenException
TestgenException
- if an error occurs during processingC2TestgenException
© Copyright IBM Corp. 2013. All rights reserved.