jetif.ext.proxy
Class SocketProxy
java.lang.Object
jetif.ext.proxy.SocketProxy
- All Implemented Interfaces:
- Proxy
- public class SocketProxy
- extends Object
- implements Proxy
The SocketProxy implements a SOCKET proxy implementation.
- Author:
- Vicky Wang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_AGENT_URI
public static final String DEFAULT_AGENT_URI
- See Also:
- Constant Field Values
SocketProxy
public SocketProxy()
open
public void open(Properties props,
Serializable data)
throws FrameworkException
- Description copied from interface:
Proxy
- Bind the remote proxy agent at the beginning of a suite.
- Specified by:
open in interface Proxy
- Parameters:
props - The properties object of this suite.data - The data should be transmitted to remote proxy agent.
- Throws:
FrameworkException - if errors occurs try to bind proxy agent.
runCase
public Object runCase(Serializable data)
throws FrameworkException
- Description copied from interface:
Proxy
- Run a test case with specified input data.
- Specified by:
runCase in interface Proxy
- Parameters:
data - the data should be transmitted to remote proxy agent.
- Returns:
- the result from remote proxy agent.
- Throws:
FrameworkException - if error occurs during testing.
close
public void close()
throws FrameworkException
- Description copied from interface:
Proxy
- Close the remote proxy agent when a suite is completed.
- Specified by:
close in interface Proxy
- Throws:
FrameworkException
Copyright © 2004,2005 Vicky Wang - All Rights Reserved.