|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The LwProxy means lightweight proxy. It's similar to Proxy,
but all data are encoded with Base64 encoding. It will be more easier to transmit
strings between two JVMs for most underlying protocol.
The jetif.LwProxyAgent is recommended for lightweight proxy agent implementation.
Proxy,
LwProxyAgent| Method Summary | |
void |
close()
Close the remote proxy agent when a suite is completed. |
void |
open(Properties props,
String data)
Bind the remote proxy agent at the beginning of a suite. |
String |
runCase(String input)
Run a test case with specified input data. |
| Method Detail |
public void open(Properties props,
String data)
throws FrameworkException
props - The properties object of this suite.data - The data should be transmitted to remote proxy agent, encoded
in Base64 encoding.
FrameworkException - if errors occurs try to bind proxy agent.
public String runCase(String input)
throws FrameworkException
input - the data should be transmitted to remote proxy agent, encoded
in Base64 encoding.
FrameworkException - if error occurs during testing.
public void close()
throws FrameworkException
FrameworkException
|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||