public interface MWClient
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all open server connections and free any native resources.
|
MWInvokable |
createComponentProxy(java.net.URL url)
Creates a proxy object reference to a deployable archive hosted by MATLAB Production Server.
|
MWInvokable |
createComponentProxy(java.net.URL url,
MWMarshalingRules marshalingRules)
Creates a reflection-based proxy object reference to a deployable hosted by MATLAB Production Server.
|
<T> T |
createProxy(java.net.URL url,
java.lang.Class<T> mwComponent)
Creates an interface-based proxy object reference to a deployable archive hosted by MATLAB Production Server.
|
java.lang.String |
getID()
Get unique identifier for this client instance
|
<T> T createProxy(java.net.URL url,
java.lang.Class<T> mwComponent)
mwComponent. The proxy
object has public methods of the interface defined by mwComponent. This interface has
methods with names of MATLAB functions in the deployable archive and with inputs and outputs consistent with MATLAB
functions in terms of types and numbers. When a method is invoked, the proxy object establishes
a client-server connection, sends the inputs to the MATLAB function and receives the result.T - The type of the returned objecturl - url to the deployable archive with the form: http://<server_name>:<port_number>/<archive_name>mwComponent - Reference to interface modeled after the deployable archive pointed by the URLMWInvokable createComponentProxy(java.net.URL url, MWMarshalingRules marshalingRules)
invoke method to call MATLAB functions contained in the
specified deployable archive.url - url to the deployable archive with the form: http://<server_name>:<port_number>/<CTF_name>marshalingRules - List of java classes, used as input or output arguments to the MATLAB function, that represent a MATALB structMWInvokable createComponentProxy(java.net.URL url)
invoke method to call MATLAB functions contained in the specified deployable archive.url - url to the deployable archive with the form: http://<server_name>:<port_number>/<CTF_name>void close()
java.lang.String getID()
Copyright 2010-2022 The MathWorks, Inc.