MatlabProxyFactory¶
-
public class
MatlabProxyFactory
implements ProxyFactory¶ Creates instances of
MatlabProxy
. Any number of proxies may be created with a factory. How the proxies will connect to a session of MATLAB depends on whether the factory is running inside or outside MATLAB: Running inside MATLAB The proxy will connect to the session of MATLAB this factory is running in. Running outside MATLAB By default a new session of MATLAB will be started and connected to, but the factory may be configured via the options provided to this factory to connect to a previously controlled session. This class is unconditionally thread-safe. Any number of proxies may be created simultaneously.Author: Joshua Kaplan
Constructors¶
MatlabProxyFactory¶
-
public
MatlabProxyFactory
()¶ Constructs the factory using default options.
Throws: - MatlabConnectionException –
MatlabProxyFactory¶
-
public
MatlabProxyFactory
(MatlabProxyFactoryOptions options)¶ Constructs the factory with the specified
options
. Depending on the whether the factory is running inside MATLAB or outside MATLAB will determine if a given option is used.Parameters: - options –
Methods¶
getProxy¶
-
public MatlabProxy
getProxy
()¶
requestProxy¶
-
public Request
requestProxy
(RequestCallback callback)¶