    

 ## On this page

  

 

 # Class: PHXAnalysisClient

 Last update: 16.07.2025 

**Package:** `com.phoenix_int.aserver.client`

**Class Hierarchy**

```java
↳ java.lang.Object
  ↳ com.phoenix_int.aserver.client.PHXAnalysisClient

```

**Declaration**

```java
@Deprecated
public class PHXAnalysisClient
extends java.lang.Object

```

This class automates communications with ModelCenter Remote Execution. Communication can be performed asynchronously or synchronously. Synchronous communication is performed by calling any of the direct access functions, e.g. `start()` or `listProperties()`. Asynchronous communication is performed by calling a `sendXXXRequest()` function and then calling the matching `getXXXResponse()` when the response is ready. Listener methods are provided for notification of responses.

Sample Usage:

```java
 // this code connects to ModelCenter Remote Execution and performs serveral
 // functions
 String host = "phoenix-int.com";
 try
 {
    PHXAnalysisClient client = new PHXAnalysisClient( host );

    // list all the classes
    String classes[] = client.listClasses( null );
    System.out.println( classes.length + " classes found:" );
    for ( int i = 0; i < classes.length; i++ )
    {
       System.out.println( "   Class: " + classes[i] );

       PHXComponentDescription d = client.describe( classes[i] );

       System.out.println( "     Author: " + d.getAuthor() );
       System.out.println( "     Version: " + d.getVersion() );
       System.out.println( "     HasIcon: " + d.getHasIcon() );
       System.out.println( "     Description: " + d.getDescription() );
    }

    // start up the block analysis
    String msg = client.start( "Block", "b" );

    // query for it's props
    PHXPropertyDescriptor props[] = client.listProperties( "b" );
    System.out.println( props.length + " properties found:" );
    for ( int i = 0; i < props.length; i++ )
    {
       System.out.println( "   Prop: " + props[i].getName() );
       System.out.println( "     type: " + props[i].getType() );
       System.out.println( "     canGet: " + props[i].getCanGet() );
       System.out.println( "     canSet: " + props[i].getCanSet() );
    }

    // perform a bunch of operations
    client.set( "b.height", Double.toString( 3.141593 ) );
    for ( int i = 0; i < 10; i++ )
    {
       msg = client.set( "b.width", Integer.toString( i ) );
       msg = client.execute( "b" );

       System.out.println( "when width = " + client.get( "b.width" ) +
                           ", area = " + client.get( "b.area" ) );
    }

    // end the analysis
    client.end( "b" );

    client.close();
 }
 catch ( Exception e )
 {
    System.out.println( e );
 }
 

```

## Field Summary

Modifier and TypeField and Description`static int``ADD_PROXY_CLIENTS_REQUEST`  
Deprecated.`static int``ARBITRARY_REQUEST`  
Deprecated.`static int``DELETE_RUN_SHARE_REQUEST`  
Deprecated.`static int``DESCRIBE_REQUEST`  
Deprecated.`static int``END_REQUEST`  
Deprecated.`static int``EXECUTE_REQUEST`  
Deprecated.`static int``GET_BY_URL_REQUEST`  
Deprecated.`static int``GET_HIERARCHY_REQUEST`  
Deprecated.`static int``GET_ICON_REQUEST`  
Deprecated.`static int``GET_REQUEST`  
Deprecated.`static int``HISTORY_REQUEST`  
Deprecated.`static int``INVOKE_REQUEST`  
Deprecated.`static int``LIST_ARRAY_VALUES_REQUEST`  
Deprecated.`static int``LIST_CATEGORIES_REQUEST`  
Deprecated.`static int``LIST_CLASSES_REQUEST`  
Deprecated.`static int``LIST_METHODS_REQUEST`  
Deprecated.`static int``LIST_PROPERTIES_REQUEST`  
Deprecated.`static int``LIST_REQUEST`  
Deprecated.`static int``LIST_VALUES_REQUEST`  
Deprecated.`static int``LIST_VALUES_URL_REQUEST`  
Deprecated.`static int``SET_BY_URL_REQUEST`  
Deprecated.`static int``SET_DICTIONARY_REQUEST`  
Deprecated.`static int``SET_HIERARCHY_REQUEST`  
Deprecated.`static int``SET_REQUEST`  
Deprecated.`static int``START_REQUEST`  
Deprecated.## Constructor Summary

Constructor and Description`PHXAnalysisClient()`  
Deprecated.`PHXAnalysisClient(java.lang.String host)`  
Deprecated. Creates a client to ModelCenter Remote Execution and connects it to the specified host.`PHXAnalysisClient(java.lang.String host, int port)`  
Deprecated. Creates a client to the MCRE and connects it to the specified host.`PHXAnalysisClient(java.lang.String host, int port, int timeout)`  
Deprecated. Creates a client to the MCRE and connects it to the specified host.`PHXAnalysisClient(java.lang.String host, int timeout, java.lang.String username, java.lang.String password)`  
Deprecated. Creates a client to the MCRE and connects it to the specified host.## Method Summary

Modifier and TypeMethod and Description`void``addListener(IPHXAnalysisClientListener l)`  
Deprecated. Adds a listener.`java.lang.String``addProxyClients(java.lang.String clients)`  
Deprecated. Tells the server to add other hosts as part of the proxy chain.`void``close()`  
Deprecated. Closes the connection to the server.`void``connect(java.lang.String host)`  
Deprecated. Connects to the MCRE on the specified host.`void``connect(java.lang.String host, int port)`  
Deprecated. Connects to the MCRE on the specified host.`void``connect(java.lang.String host, int port, boolean useSSL)`  
Deprecated. Connects to the MCRE on the specified host.`void``connect(java.lang.String host, int port, boolean useSSL, int timeout)`  
Deprecated. Connects to the MCRE on the specified host.`void``connect(java.lang.String host, int port, boolean useSSL, int timeout, java.lang.String username, java.lang.String password)`  
Deprecated. Connects to the MCRE on the specified host.`void``connectExternal(java.lang.String host, int timeout, java.lang.String username, java.lang.String password)`  
Deprecated. Connects to the MCRE via external tool.`void``connectLocal(java.lang.String userName, java.lang.String password)`  
Deprecated. Makes a virtual connection to ModelCenter Remote Execution inside of this process.`void``connectLocal(java.lang.String userName, java.lang.String password, java.util.Map<java.lang.String,java.lang.Object> initialProps)`  
Deprecated. Makes a virtual connection to the MCRE inside of this process.`void``connectProcess(java.lang.String userName, java.lang.String password, java.lang.String asRoot, java.lang.String asConfig)`  
Deprecated. Makes a virtual connection to the MCRE by calling a new java process.`void``connectURL(java.lang.String url)`  
Deprecated. Connects to the MCRE using the specified URL, such as mcre://hostname.`void``connectURL(java.lang.String url, int timeout, java.lang.String user, java.lang.String password)`  
Deprecated. Connects to ModelCenter Remote Execution using the specified URL, such as mcre://hostname.`java.lang.String``deleteRunShare(java.lang.Long key)`  
Deprecated. Handle cleaning up a runShare in a local client.`PHXComponentDescription``describe(java.lang.String analysis)`  
Deprecated. Describes an analysis.`java.lang.String``end(java.lang.String analysis)`  
Deprecated. Ends an analysis.`java.lang.String``execute(java.lang.String analysis)`  
Deprecated. Executes an analysis.`protected void``finalize()`  
Deprecated.`java.lang.String``get(java.lang.String property)`  
Deprecated. Get the value of a property.`PHXStringBuffer``get2(java.lang.String property)`  
Deprecated. Get the value of a property.`java.lang.String``getAddProxyClientsResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXStringBuffer``getByUrl(java.lang.String propertyName, java.lang.String url)`  
Deprecated. Get the value of a property.`PHXComponentBranch``getComponentHistory(java.lang.String analysis)`  
Deprecated. Gets the component history for a particular component.`java.lang.String``getDeleteRunShareResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXComponentDescription``getDescribeResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getEndResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getExecuteResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXStringBuffer``getGetByUrlResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXComponentBranch``getGetComponentHistoryResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXStringBuffer``getGetHierarchyResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXIcon``getGetIconResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getGetResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXStringBuffer``getGetResponse2(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXStringBuffer``getHierarchy(java.lang.String analysis)`  
Deprecated. Retrieve the hierarchy for the component.`java.lang.String``getHostName()`  
Deprecated. Retrieves the host name of the server.`PHXIcon``getIcon(java.lang.String analysis)`  
Deprecated. Retrieves an icon for an analysis.`java.lang.String``getInvokeResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String[]``getListArrayValuesResponse(java.lang.String id, boolean wait)`  
Deprecated.`java.lang.String[]``getListCategoriesResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String[]``getListClassesResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXMethodDescriptor[]``getListMethodsResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXPropertyDescriptor[]``getListPropertiesResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String[]``getListResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`PHXPropertyValue[]``getListValuesResponse(java.lang.String id, boolean wait)`  
Deprecated.`PHXStringBuffer``getResponseAsPHXStringBuffer(java.lang.String id, int type, boolean wait)`  
Deprecated. Retrieves a low-level response from the server in String format.`java.lang.String``getResponseAsText(java.lang.String id, int type, boolean wait)`  
Deprecated. Retrieves a low-level response from the server in String format.`PHXStringBuffer``getSetByUrlResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getSetDictionaryResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getSetHierarchyResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getSetResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`java.lang.String``getStartResponse(java.lang.String id, boolean wait)`  
Deprecated. Retrieves a response from the server.`static void``handleLogin(java.io.InputStream in, java.io.OutputStream out, java.lang.String username, java.lang.String password)`  
Deprecated.`java.lang.String``invoke(java.lang.String method)`  
Deprecated. Invokes a method.`boolean``isConnected()`  
Deprecated. Determines if the client is currently connected to a server.`boolean``isResponseReady(java.lang.String id)`  
Deprecated. Indicates whether a response is ready.`java.lang.String[]``list()`  
Deprecated.`java.lang.String[]``listArrayValues(java.lang.String analysis)`  
Deprecated.`java.lang.String[]``listCategories(java.lang.String category)`  
Deprecated. Lists the categories within a category.`java.lang.String[]``listClasses(java.lang.String category)`  
Deprecated. Lists the classes within a category.`PHXMethodDescriptor[]``listMethods(java.lang.String analysis)`  
Deprecated. Lists the methods of an analysis.`PHXPropertyDescriptor[]``listProperties(java.lang.String analysis)`  
Deprecated. Lists the properties of an analysis.`PHXPropertyValue[]``listValues(java.lang.String analysis)`  
Deprecated.`static void``main(java.lang.String[] args)`  
Deprecated.`void``removeListener(IPHXAnalysisClientListener l)`  
Deprecated. Removes a listener.`java.lang.String``sendAddProxyClientsRequest(java.lang.String clients)`  
Deprecated. Tells the server to add other hosts as part of the proxy chain.`java.lang.String``sendArbitraryRequest(PHXStringBuffer request)`  
Deprecated. Sends an arbitrary request to the server.`java.lang.String``sendArbitraryRequest(java.lang.String request)`  
Deprecated. Sends an arbitrary request to the server.`java.lang.String``sendDeleteRunShareRequest(java.lang.Long key)`  
Deprecated. Sends a request to delete a runShare.`java.lang.String``sendDescribeRequest(java.lang.String analysis)`  
Deprecated. Sends a request to describe an analysis.`java.lang.String``sendEndRequest(java.lang.String analysis)`  
Deprecated. Sends a request to end an analysis.`java.lang.String``sendExecuteRequest(java.lang.String analysis)`  
Deprecated. Sends a request to execute an analysis.`java.lang.String``sendGetByUrlRequest(java.lang.String propertyName, java.lang.String url)`  
Deprecated. Sends a request to get the value of a property.`java.lang.String``sendGetComponentHistoryRequest(java.lang.String analysis)`  
Deprecated. Sends a request to get the version history of a component.`java.lang.String``sendGetHierarchyRequest(java.lang.String analysis)`  
Deprecated. Sends a request to retrieve a hierarchy for a component.`java.lang.String``sendGetHierarchyRequest(java.lang.String analysis, com.phoenix_int.aserver.client.PHXHierarchyFileMode fileMode)`  
Deprecated. Sends a request to retrieve a hierarchy for a component.`java.lang.String``sendGetIconRequest(java.lang.String analysis)`  
Deprecated. Sends a request to retrieve an icon.`java.lang.String``sendGetRequest(java.lang.String property)`  
Deprecated. Sends a request to get the value of a property.`java.lang.String``sendInvokeRequest(java.lang.String method)`  
Deprecated. Sends a request to invoke a method.`java.lang.String``sendListArrayValuesRequest(java.lang.String analysis)`  
Deprecated.`java.lang.String``sendListCategoriesRequest(java.lang.String category)`  
Deprecated. Sends a request to list the categories.`java.lang.String``sendListClassesRequest(java.lang.String category)`  
Deprecated. Sends a request to list the classes.`java.lang.String``sendListMethodsRequest(java.lang.String analysis)`  
Deprecated. Sends a request to list the methods of an analysis.`java.lang.String``sendListPropertiesRequest(java.lang.String analysis)`  
Deprecated. Sends a request to list the properties of an analysis.`java.lang.String``sendListRequest()`  
Deprecated. Sends a request to list the running objects.`java.lang.String``sendListValuesRequest(java.lang.String analysis)`  
Deprecated.`java.lang.String``sendListValuesURLRequest(java.lang.String analysis)`  
Deprecated.`java.lang.String``sendSetByUrlRequest(java.lang.String varName, java.lang.String url)`  
Deprecated. Sends a request to get the value of a property.`java.lang.String``sendSetDictionaryRequest(java.lang.String dictionary)`  
Deprecated. Sends a request to set a dictionary.`java.lang.String``sendSetHierarchyRequest(java.lang.String analysis, PHXStringBuffer xml)`  
Deprecated. Sends a request to set a hierarchy for a component.`java.lang.String``sendSetRequest(java.lang.String property, java.lang.Object value)`  
Deprecated. Sends a request to set the value of a property.`java.lang.String``sendStartRequest(java.lang.String analysis, java.lang.String instanceName)`  
Deprecated. Sends a request to start an analysis.`java.lang.String``set(java.lang.String property, java.lang.Object value)`  
Deprecated. Set the value of a property.`void``setByUrl(java.lang.String varName, java.lang.String url)`  
Deprecated. Set the value of a variable.`void``setDeleteDFT(boolean delete)`  
Deprecated. Set whether the analysis client should auto-delete Direct File Transfer run shares or not.`java.lang.String``setDictionary(java.lang.String dictionary)`  
Deprecated. Tries to set the dictionary by sending a set dictionary request.`java.lang.String``setHierarchy(java.lang.String analysis, PHXStringBuffer xml)`  
Deprecated. Sends a request to set a hierarchy for a component.`java.lang.String``start(java.lang.String analysis, java.lang.String instanceName)`  
Deprecated. Starts an analysis.### Methods inherited from class java.lang.Object

`clone`, `equals`, `getClass`, `hashCode`, `notify`, `notifyAll`, `toString`, `wait`, `wait`, `wait`

## Field Detail

### START\_REQUEST

```java
public static final int START_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### END\_REQUEST

```java
public static final int END_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### GET\_REQUEST

```java
public static final int GET_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### SET\_REQUEST

```java
public static final int SET_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_REQUEST

```java
public static final int LIST_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_CLASSES\_REQUEST

```java
public static final int LIST_CLASSES_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_PROPERTIES\_REQUEST

```java
public static final int LIST_PROPERTIES_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_CATEGORIES\_REQUEST

```java
public static final int LIST_CATEGORIES_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### EXECUTE\_REQUEST

```java
public static final int EXECUTE_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### DESCRIBE\_REQUEST

```java
public static final int DESCRIBE_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### GET\_ICON\_REQUEST

```java
public static final int GET_ICON_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_VALUES\_REQUEST

```java
public static final int LIST_VALUES_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_ARRAY\_VALUES\_REQUEST

```java
public static final int LIST_ARRAY_VALUES_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_METHODS\_REQUEST

```java
public static final int LIST_METHODS_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### INVOKE\_REQUEST

```java
public static final int INVOKE_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### ADD\_PROXY\_CLIENTS\_REQUEST

```java
public static final int ADD_PROXY_CLIENTS_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### HISTORY\_REQUEST

```java
public static final int HISTORY_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### GET\_BY\_URL\_REQUEST

```java
public static final int GET_BY_URL_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### GET\_HIERARCHY\_REQUEST

```java
public static final int GET_HIERARCHY_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### SET\_HIERARCHY\_REQUEST

```java
public static final int SET_HIERARCHY_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### DELETE\_RUN\_SHARE\_REQUEST

```java
public static final int DELETE_RUN_SHARE_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### SET\_DICTIONARY\_REQUEST

```java
public static final int SET_DICTIONARY_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### SET\_BY\_URL\_REQUEST

```java
public static final int SET_BY_URL_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### ARBITRARY\_REQUEST

```java
public static final int ARBITRARY_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

### LIST\_VALUES\_URL\_REQUEST

```java
public static final int LIST_VALUES_URL_REQUEST

```

**Deprecated.**

**See Also:**

- [Constant Field Values](../../../../constant-values.md)

## Constructor Detail

### PHXAnalysisClient

```java
public PHXAnalysisClient()

```

**Deprecated.**

### PHXAnalysisClient

```java
public PHXAnalysisClient(java.lang.String host)
                  throws java.io.IOException, 
                         java.net.UnknownHostException

```

**Deprecated.**

**Parameters:**

- host - the MCRE host to connect to, or the full URL style host specification (`mcre://hostname:port`)

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### PHXAnalysisClient

```java
public PHXAnalysisClient(java.lang.String host, 
                         int port)
                  throws java.io.IOException, 
                         java.net.UnknownHostException

```

**Deprecated.**

**Parameters:**

- host - the MCRE host to connect to
- port - the port to use for the MCRE (default is 1835)

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### PHXAnalysisClient

```java
public PHXAnalysisClient(java.lang.String host, 
                         int port, 
                         int timeout)
                  throws java.io.IOException, 
                         java.net.UnknownHostException

```

**Deprecated.**

**Parameters:**

- host - the MCRE host to connect to
- port - the port to use for the MCRE (default is 1835)
- timeout - the number of seconds to wait during the connect

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### PHXAnalysisClient

```java
public PHXAnalysisClient(java.lang.String host, 
                         int timeout, 
                         java.lang.String username, 
                         java.lang.String password)
                  throws java.io.IOException, 
                         java.net.UnknownHostException

```

**Deprecated.**

**Parameters:**

- host - the MCRE host to connect to
- timeout - the number of seconds to wait during the connect
- username
- password

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

## Method Detail

### connect

```java
public void connect(java.lang.String host)
            throws java.io.IOException, 
                   java.net.UnknownHostException

```

**Deprecated.**

connects to MCRE on the specified host

**Parameters:**

- host - MCRE host to connect to, or the full URL style host specification (`mcre://hostname:port`)

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### connectURL

```java
public void connectURL(java.lang.String url)
               throws java.io.IOException, 
                      java.net.UnknownHostException, 
                      java.net.URISyntaxException

```

**Deprecated.**

connects to MCRE using the specified URL, such as `mcre://hostname`.

**Parameters:**

- url - MCRE URL style host specification (`mcre://hostname:port`). May include path part, which will be ignored.

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host
- `java.net.URISyntaxException`

### connectURL

```java
public void connectURL(java.lang.String url, 
                      int timeout, 
                      java.lang.String user, 
                      java.lang.String password)
               throws java.io.IOException, 
                      java.net.UnknownHostException, 
                      java.net.URISyntaxException

```

**Deprecated.**

connects to ModelCenter Remote Execution using the specified URL, such as `mcre://hostname`. Note that if you are using mcre+local style connections, you must have previously instantiated MCRE Engine as described in `connectLocal()`.

**Parameters:**

- url - MCRE URL style host specification (`mcre://hostname:port`). May include path part, which will be ignored.

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host
- `java.net.URISyntaxException`

### connectLocal

```java
public void connectLocal(java.lang.String userName, 
                        java.lang.String password)
                 throws java.io.IOException

```

**Deprecated.**

Makes a virtual connection to ModelCenter Remote Execution inside of this process. MCRE must have been previously instantiated using this method:

```
  PHXAnalysisServer.doInitialization(
    new String[] {"-aee", "-noSManager",
                  "-base", "c:\\users\\nsharp\\vers\\MCAS\\ASERVER\\install"});

```

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established

### connectLocal

```java
public void connectLocal(java.lang.String userName, 
                        java.lang.String password, 
                        java.util.Map<java.lang.String,
                        java.lang.Object> initialProps)
                 throws java.io.IOException

```

**Deprecated.**

Makes a virtual connection to the MCRE inside of this process. MCRE must have been previously instantiated using this method:

```java
  PHXAnalysisServer.doInitialization(
    new String[] {"-aee", "-noSManager",
                  "-base", "c:\\users\\nsharp\\vers\\MCAS\\ASERVER\\install"});

```

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established

### connectProcess

```java
public void connectProcess(java.lang.String userName, 
                          java.lang.String password, 
                          java.lang.String asRoot, 
                          java.lang.String asConfig)
                   throws java.io.IOException

```

**Deprecated.**

Makes a virtual connection to MCRE by calling a new java process. MCRE must have been previously instantiated using this method:

```java
  PHXAnalysisServer.doInitialization(
    new String[] {"-aee", "-noSManager",
                  "-base", "c:\\users\\nsharp\\vers\\MCAS\\ASERVER\\install"});

```

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established

### connect

```java
public void connect(java.lang.String host, 
                   int port)
            throws java.io.IOException, 
                   java.net.UnknownHostException

```

**Deprecated.**

connects to MCRE on the specified host

**Parameters:**

- host - MCRE host to connect to
- port - the port to use for MCRE (default is 1835)

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### connect

```java
public void connect(java.lang.String host, 
                   int port, 
                   boolean useSSL)
            throws java.io.IOException, 
                   java.net.UnknownHostException

```

**Deprecated.**

connects to MCRE on the specified host

**Parameters:**

- host - MCRE host to connect to
- port - the port to use for MCRE (default is 1835)
- useSSL - Whether to connect using SSL

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### connectExternal

```java
public void connectExternal(java.lang.String host, 
                           int timeout, 
                           java.lang.String username, 
                           java.lang.String password)
                    throws java.io.IOException

```

**Deprecated.**

connects to MCRE via external tool

**Parameters:**

- host - MCRE host to connect to
- timeout - the number of seconds to wait during the connect
- username - the username to use in the external tool
- password - the password to use in the external tool

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### connect

```java
public void connect(java.lang.String host, 
                   int port, 
                   boolean useSSL, 
                   int timeout)
            throws java.io.IOException, 
                   java.net.UnknownHostException

```

**Deprecated.**

connects to MCRE on the specified host

**Parameters:**

- host - MCRE host to connect to
- port - the port to use for MCRE (default is 1835)
- useSSL - Whether to connect using SSL
- timeout - the number of seconds to wait during the connect

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### connect

```java
public void connect(java.lang.String host, 
                   int port, 
                   boolean useSSL, 
                   int timeout, 
                   java.lang.String username, 
                   java.lang.String password)
            throws java.io.IOException, 
                   java.net.UnknownHostException

```

**Deprecated.**

connects to MCRE on the specified host

**Parameters:**

- host - MCRE host to connect to
- port - the port to use for MCRE (default is 1835)
- useSSL - Whether to connect using SSL
- timeout - the number of seconds to wait during the connect
- username - the username for authentication
- password - the password for authentication

**Throws:**

- `java.io.IOException` - thrown if a connection cannot be established
- `java.net.UnknownHostException` - thrown if the host does not match a valid host

### handleLogin

```java
public static void handleLogin(java.io.InputStream in, 
                              java.io.OutputStream out, 
                              java.lang.String username, 
                              java.lang.String password)
                       throws java.io.IOException

```

**Deprecated.**

**Throws:**

- `java.io.IOException`

### isConnected

```java
public boolean isConnected()

```

**Deprecated.**

determines if the client is currently connected to a server

**Returns:**

- true if currently connected

### setDeleteDFT

```java
public void setDeleteDFT(boolean delete)

```

**Deprecated.**

Set whether the analysis client should auto-delete Direct File Transfer run shares or not

### getHostName

```java
public java.lang.String getHostName()

```

**Deprecated.**

retrieves the host name of the server

**Returns:**

- the host name, or "not connected" if not currently connected to the server

### close

```java
public void close()

```

**Deprecated.**

closes the connection to the server

### finalize

```java
protected void finalize()
                 throws java.lang.Throwable

```

**Deprecated.**

**Overrides:**

- finalize in class `java.lang.Object`

**Throws:**

- `java.lang.Throwable`

### addListener

```java
public void addListener(IPHXAnalysisClientListener l)

```

**Deprecated.**

adds a listener

**Parameters:**

- l - the listener

### removeListener

```java
public void removeListener(IPHXAnalysisClientListener l)

```

**Deprecated.**

removes a listener

**Parameters:**

- l - the listener

### isResponseReady

```java
public boolean isResponseReady(java.lang.String id)

```

**Deprecated.**

indicates whether a response is ready

**Parameters:**

- id - the id of the response

**Returns:**

- true if the response is ready

### sendStartRequest

```java
public java.lang.String sendStartRequest(java.lang.String analysis, 
                                         java.lang.String instanceName)

```

**Deprecated.**

sends a request to start an analysis

**Parameters:**

- analysis - the analysis to start
- instanceName - the name for the analysis

**Returns:**

- the id for the response

### getStartResponse

```java
public java.lang.String getStartResponse(java.lang.String id, 
                                         boolean wait)
                                  throws PHXResponseTypeMismatchException, 
                                         PHXNoSuchResponseException, 
                                         PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the response from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### start

```java
public java.lang.String start(java.lang.String analysis, 
                              java.lang.String instanceName)
                       throws PHXServerSideException

```

**Deprecated.**

starts an analysis

**Parameters:**

- analysis - the snalyais to start
- instanceName - the name for the analysis

**Returns:**

- the response from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendEndRequest

```java
public java.lang.String sendEndRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to end an analysis

**Parameters:**

- analysis - the analysis to start

**Returns:**

- the id for the response

### getEndResponse

```java
public java.lang.String getEndResponse(java.lang.String id, 
                                       boolean wait)
                                throws PHXResponseTypeMismatchException, 
                                       PHXNoSuchResponseException, 
                                       PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the response from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### end

```java
public java.lang.String end(java.lang.String analysis)
                     throws PHXServerSideException

```

**Deprecated.**

ends an analysis

**Parameters:**

- analysis - the snalyais to end

**Returns:**

- the response from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendListClassesRequest

```java
public java.lang.String sendListClassesRequest(java.lang.String category)

```

**Deprecated.**

sends a request to list the classes

**Parameters:**

- category - the category to search. If null, then the root category is searched

**Returns:**

- the id for the response

### getListClassesResponse

```java
public java.lang.String[] getListClassesResponse(java.lang.String id, 
                                                 boolean wait)
                                          throws PHXResponseTypeMismatchException, 
                                                 PHXNoSuchResponseException, 
                                                 PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an array of classes

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### listClasses

```java
public java.lang.String[] listClasses(java.lang.String category)
                               throws PHXServerSideException

```

**Deprecated.**

lists the classes within a category

**Parameters:**

- category - the category to search. If null, then the root category is searched

**Returns:**

- an array of classes

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendExecuteRequest

```java
public java.lang.String sendExecuteRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to execute an analysis

**Parameters:**

- analysis - the analysis to execute

**Returns:**

- the id for the response

### getExecuteResponse

```java
public java.lang.String getExecuteResponse(java.lang.String id, 
                                           boolean wait)
                                    throws PHXResponseTypeMismatchException, 
                                           PHXNoSuchResponseException, 
                                           PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the response from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### execute

```java
public java.lang.String execute(java.lang.String analysis)
                         throws PHXServerSideException

```

**Deprecated.**

exectutes an analysis

**Parameters:**

- analysis - the analyais to start

**Returns:**

- the response from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendAddProxyClientsRequest

```java
public java.lang.String sendAddProxyClientsRequest(java.lang.String clients)

```

**Deprecated.**

Tells the server to add other hosts as part of the proxy chain

**Parameters:**

- clients - The comma separated list of hosts

**Returns:**

- the id for the response

### getAddProxyClientsResponse

```java
public java.lang.String getAddProxyClientsResponse(java.lang.String id, 
                                                   boolean wait)
                                            throws PHXResponseTypeMismatchException, 
                                                   PHXNoSuchResponseException, 
                                                   PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the response from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### addProxyClients

```java
public java.lang.String addProxyClients(java.lang.String clients)
                                 throws PHXServerSideException

```

**Deprecated.**

Tells the server to add other hosts as part of the proxy chain

**Parameters:**

- clients - The comma separated list of hosts

**Returns:**

- the response from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendGetRequest

```java
public java.lang.String sendGetRequest(java.lang.String property)

```

**Deprecated.**

sends a request to get the value of a property

**Parameters:**

- property - the property to retrieve a value for

**Returns:**

- the id for the response

### getGetResponse

```java
public java.lang.String getGetResponse(java.lang.String id, 
                                       boolean wait)
                                throws PHXResponseTypeMismatchException, 
                                       PHXNoSuchResponseException, 
                                       PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getGetResponse2

```java
public PHXStringBuffer getGetResponse2(java.lang.String id, 
                                       boolean wait)
                                throws PHXResponseTypeMismatchException, 
                                       PHXNoSuchResponseException, 
                                       PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### get

```java
public java.lang.String get(java.lang.String property)
                     throws PHXServerSideException

```

**Deprecated.**

get the value of a property

**Parameters:**

- property - the property to retrieve a value for

**Returns:**

- the value of the property

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### get2

```java
public PHXStringBuffer get2(java.lang.String property)
                     throws PHXServerSideException

```

**Deprecated.**

get the value of a property

**Parameters:**

- property - the property to retrieve a value for

**Returns:**

- the value of the property

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### sendGetByUrlRequest

```java
public java.lang.String sendGetByUrlRequest(java.lang.String propertyName, 
                                            java.lang.String url)

```

**Deprecated.**

sends a request to get the value of a property

**Parameters:**

- url - The url requested

**Returns:**

- the id for the response

### getGetByUrlResponse

```java
public PHXStringBuffer getGetByUrlResponse(java.lang.String id, 
                                           boolean wait)
                                    throws PHXResponseTypeMismatchException, 
                                           PHXNoSuchResponseException, 
                                           PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getByUrl

```java
public PHXStringBuffer getByUrl(java.lang.String propertyName, 
                                java.lang.String url)
                         throws PHXServerSideException

```

**Deprecated.**

get the value of a property

**Parameters:**

- url - the url to get the file contents of

**Returns:**

- the contents of the file

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### sendSetByUrlRequest

```java
public java.lang.String sendSetByUrlRequest(java.lang.String varName, 
                                            java.lang.String url)

```

**Deprecated.**

sends a request to get the value of a property

**Parameters:**

- url - The url requested

**Returns:**

- the id for the response

### getSetByUrlResponse

```java
public PHXStringBuffer getSetByUrlResponse(java.lang.String id, 
                                           boolean wait)
                                    throws PHXResponseTypeMismatchException, 
                                           PHXNoSuchResponseException, 
                                           PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### setByUrl

```java
public void setByUrl(java.lang.String varName, 
                     java.lang.String url)
              throws PHXServerSideException

```

**Deprecated.**

set the value of a variable

**Parameters:**

- varName - the variable to set
- url - the url to set the variable at

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendSetRequest

```java
public java.lang.String sendSetRequest(java.lang.String property, 
                                       java.lang.Object value)

```

**Deprecated.**

sends a request to set the value of a property

**Parameters:**

- property - the property to retrieve a value for

**Returns:**

- the id for the response

### getSetResponse

```java
public java.lang.String getSetResponse(java.lang.String id, 
                                       boolean wait)
                                throws PHXResponseTypeMismatchException, 
                                       PHXNoSuchResponseException, 
                                       PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the response from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### set

```java
public java.lang.String set(java.lang.String property, 
                            java.lang.Object value)
                     throws PHXServerSideException

```

**Deprecated.**

set the value of a property

**Parameters:**

- property - the property to retrieve a value for
- value - the value of the property

**Returns:**

- the response from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### sendGetComponentHistoryRequest

```java
public java.lang.String sendGetComponentHistoryRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to get the version history of a component

**Parameters:**

- analysis - the analysis to query

**Returns:**

- the id for the response

### getGetComponentHistoryResponse

```java
public PHXComponentBranch getGetComponentHistoryResponse(java.lang.String id, 
                                                         boolean wait)
                                                  throws PHXResponseTypeMismatchException, 
                                                         PHXNoSuchResponseException, 
                                                         PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- a description object for the analysis

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getComponentHistory

```java
public PHXComponentBranch getComponentHistory(java.lang.String analysis)
                                       throws PHXServerSideException

```

**Deprecated.**

Gets the component history for a particular component.

**Parameters:**

- analysis - The full path to the component

**Returns:**

- The top level branch object which represents the main development branch.

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the server reports any problems.

### sendDescribeRequest

```java
public java.lang.String sendDescribeRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to describe an analysis

**Parameters:**

- analysis - the analysis to start

**Returns:**

- the id for the response

### getDescribeResponse

```java
public PHXComponentDescription getDescribeResponse(java.lang.String id, 
                                                   boolean wait)
                                            throws PHXResponseTypeMismatchException, 
                                                   PHXNoSuchResponseException, 
                                                   PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- a description object for the analysis

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### describe

```java
public PHXComponentDescription describe(java.lang.String analysis)
                                 throws PHXServerSideException

```

**Deprecated.**

describes an analysis

**Parameters:**

- analysis - the full path to the component

**Returns:**

- a description object

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendListPropertiesRequest

```java
public java.lang.String sendListPropertiesRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to list the properties of an analysis

**Parameters:**

- analysis - the analysis to query

**Returns:**

- the id for the response

### getListPropertiesResponse

```java
public PHXPropertyDescriptor[] getListPropertiesResponse(java.lang.String id, 
                                                         boolean wait)
                                                  throws PHXResponseTypeMismatchException, 
                                                         PHXNoSuchResponseException, 
                                                         PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- a property descriptor object for the analysis

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### listProperties

```java
public PHXPropertyDescriptor[] listProperties(java.lang.String analysis)
                                       throws PHXServerSideException

```

**Deprecated.**

lists the properties of an analysis

**Parameters:**

- analysis - the analyais to list properties for

**Returns:**

- a property descriptor for the object

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendListMethodsRequest

```java
public java.lang.String sendListMethodsRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to list the methods of an analysis

**Parameters:**

- analysis - the analysis to query

**Returns:**

- the id for the response

### getListMethodsResponse

```java
public PHXMethodDescriptor[] getListMethodsResponse(java.lang.String id, 
                                                    boolean wait)
                                             throws PHXResponseTypeMismatchException, 
                                                    PHXNoSuchResponseException, 
                                                    PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- a property descriptor object for the analysis

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### listMethods

```java
public PHXMethodDescriptor[] listMethods(java.lang.String analysis)
                                  throws PHXServerSideException

```

**Deprecated.**

lists the methods of an analysis

**Parameters:**

- analysis - the analyais to list methods for

**Returns:**

- an array of method descriptors for the object

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendInvokeRequest

```java
public java.lang.String sendInvokeRequest(java.lang.String method)

```

**Deprecated.**

sends a request to invoke a method

**Parameters:**

- method - the method to invoke

**Returns:**

- the id for the response

### getInvokeResponse

```java
public java.lang.String getInvokeResponse(java.lang.String id, 
                                          boolean wait)
                                   throws PHXResponseTypeMismatchException, 
                                          PHXNoSuchResponseException, 
                                          PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### invoke

```java
public java.lang.String invoke(java.lang.String method)
                        throws PHXServerSideException

```

**Deprecated.**

invokes a method

**Parameters:**

- method - the method to invoke

**Returns:**

- the results of the invocation

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendListValuesRequest

```java
public java.lang.String sendListValuesRequest(java.lang.String analysis)

```

**Deprecated.**

### sendListValuesURLRequest

```java
public java.lang.String sendListValuesURLRequest(java.lang.String analysis)

```

**Deprecated.**

### getListValuesResponse

```java
public PHXPropertyValue[] getListValuesResponse(java.lang.String id, 
                                                boolean wait)
                                         throws PHXResponseTypeMismatchException, 
                                                PHXNoSuchResponseException, 
                                                PHXServerSideException, 
                                                java.io.IOException, 
                                                java.lang.NumberFormatException

```

**Deprecated.**

**Throws:**

- `PHXResponseTypeMismatchException`
- `PHXNoSuchResponseException`
- `PHXServerSideException`
- `java.io.IOException`
- `java.lang.NumberFormatException`

### listValues

```java
public PHXPropertyValue[] listValues(java.lang.String analysis)
                              throws PHXServerSideException, 
                                     java.io.IOException

```

**Deprecated.**

**Throws:**

- `PHXServerSideException`
- `java.io.IOException`

### sendListArrayValuesRequest

```java
public java.lang.String sendListArrayValuesRequest(java.lang.String analysis)

```

**Deprecated.**

### getListArrayValuesResponse

```java
public java.lang.String[] getListArrayValuesResponse(java.lang.String id, 
                                                     boolean wait)
                                              throws PHXResponseTypeMismatchException, 
                                                     PHXNoSuchResponseException

```

**Deprecated.**

**Throws:**

- `PHXResponseTypeMismatchException`
- `PHXNoSuchResponseException`

### listArrayValues

```java
public java.lang.String[] listArrayValues(java.lang.String analysis)
                                   throws PHXServerSideException, 
                                          java.io.IOException

```

**Deprecated.**

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md)
- `java.io.IOException`

### sendListCategoriesRequest

```java
public java.lang.String sendListCategoriesRequest(java.lang.String category)

```

**Deprecated.**

sends a request to list the categories

**Parameters:**

- category - the category to search. If null, then the root category is searched

**Returns:**

- the id for the response

### getListCategoriesResponse

```java
public java.lang.String[] getListCategoriesResponse(java.lang.String id, 
                                                    boolean wait)
                                             throws PHXResponseTypeMismatchException, 
                                                    PHXNoSuchResponseException, 
                                                    PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an array of categories

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### listCategories

```java
public java.lang.String[] listCategories(java.lang.String category)
                                  throws PHXServerSideException

```

**Deprecated.**

lists the categories within a category

**Parameters:**

- category - the category to search. If null, then the root category is searched

**Returns:**

- an array of categories

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendListRequest

```java
public java.lang.String sendListRequest()

```

**Deprecated.**

sends a request to list the running objects

**Returns:**

- the id for the response

### getListResponse

```java
public java.lang.String[] getListResponse(java.lang.String id, 
                                          boolean wait)
                                   throws PHXResponseTypeMismatchException, 
                                          PHXNoSuchResponseException, 
                                          PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an array of objects

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### list

```java
public java.lang.String[] list()
                        throws PHXServerSideException

```

**Deprecated.**

lists the running objects

**Returns:**

- an array of objects

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendGetHierarchyRequest

```java
public java.lang.String sendGetHierarchyRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to retrieve a hierarchy for a component

**Parameters:**

- analysis - the analysis class to retrieve the icon for

**Returns:**

- the id for the response

### sendGetHierarchyRequest

```java
public java.lang.String sendGetHierarchyRequest(java.lang.String analysis, 
                                                com.phoenix_int.aserver.client.PHXHierarchyFileMode fileMode)

```

**Deprecated.**

sends a request to retrieve a hierarchy for a component

**Parameters:**

- analysis - the analysis class to retrieve the icon for
- fileMode - how to retrieve files

**Returns:**

- the id for the response

### getGetHierarchyResponse

```java
public PHXStringBuffer getGetHierarchyResponse(java.lang.String id, 
                                               boolean wait)
                                        throws PHXResponseTypeMismatchException, 
                                               PHXNoSuchResponseException, 
                                               PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an icon Image

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getHierarchy

```java
public PHXStringBuffer getHierarchy(java.lang.String analysis)
                             throws PHXServerSideException

```

**Deprecated.**

retrievethe hierarchy for the component

**Parameters:**

- analysis - the analysis class to retrieve the icon for

**Returns:**

- the string buffer containing the hierarchy

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendSetHierarchyRequest

```java
public java.lang.String sendSetHierarchyRequest(java.lang.String analysis, 
                                                PHXStringBuffer xml)

```

**Deprecated.**

Sends a request to set a hierarchy for a component

**Parameters:**

- analysis - the analysis object or parameter name to set data into
- xml - The XML data structure containing the data to be set.

**Returns:**

- the id for the response

### getSetHierarchyResponse

```java
public java.lang.String getSetHierarchyResponse(java.lang.String id, 
                                                boolean wait)
                                         throws PHXResponseTypeMismatchException, 
                                                PHXNoSuchResponseException, 
                                                PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the result from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### setHierarchy

```java
public java.lang.String setHierarchy(java.lang.String analysis, 
                                     PHXStringBuffer xml)
                              throws PHXServerSideException

```

**Deprecated.**

Sends a request to set a hierarchy for a component

**Parameters:**

- analysis - the analysis object or parameter name to set data into
- xml - The XML data structure containing the data to be set.

**Returns:**

- the result from the server

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendDeleteRunShareRequest

```java
public java.lang.String sendDeleteRunShareRequest(java.lang.Long key)

```

**Deprecated.**

Sends a request to delete a runShare

**Parameters:**

- key - the key for the runShare to delete

**Returns:**

- the id for the response

### getDeleteRunShareResponse

```java
public java.lang.String getDeleteRunShareResponse(java.lang.String id, 
                                                 boolean wait)
                                          throws PHXResponseTypeMismatchException, 
                                                 PHXNoSuchResponseException, 
                                                 PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- the result from the server

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### deleteRunShare

```java
public java.lang.String deleteRunShare(java.lang.Long key)
                                throws PHXServerSideException

```

**Deprecated.**

Handle cleaning up a runShare in a local client

**Throws:**

- PHXServerSideException

### sendGetIconRequest

```java
public java.lang.String sendGetIconRequest(java.lang.String analysis)

```

**Deprecated.**

sends a request to retrieve an icon

**Parameters:**

- analysis - the analysis class to retrieve the icon for

**Returns:**

- the id for the response

### getGetIconResponse

```java
public PHXIcon getGetIconResponse(java.lang.String id, 
                                  boolean wait)
                           throws PHXResponseTypeMismatchException, 
                                  PHXNoSuchResponseException, 
                                  PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an icon Image

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getIcon

```java
public PHXIcon getIcon(java.lang.String analysis)
                throws PHXServerSideException

```

**Deprecated.**

retrieves an icon for an analysis

**Parameters:**

- analysis - the analysis class to retrieve the icon for

**Returns:**

- an icon Image

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendSetDictionaryRequest

```java
public java.lang.String sendSetDictionaryRequest(java.lang.String dictionary)

```

**Deprecated.**

sends a request to set a dictionary

**Parameters:**

- dictionary - the desired dictionary

**Returns:**

- the id for the response

### getSetDictionaryResponse

```java
public java.lang.String getSetDictionaryResponse(java.lang.String id, 
                                                 boolean wait)
                                          throws PHXResponseTypeMismatchException, 
                                                 PHXNoSuchResponseException, 
                                                 PHXServerSideException

```

**Deprecated.**

retrieves a response from the server

**Parameters:**

- id - the id for the response
- wait - if true, the function blocks until the response is ready

**Returns:**

- an icon Image

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### setDictionary

```java
public java.lang.String setDictionary(java.lang.String dictionary)
                               throws PHXServerSideException

```

**Deprecated.**

Tries to set the dictionary by sending a set dictionary request.

**Parameters:**

- dictionary - the desired dictionary

**Returns:**

- the response from the server, or a blank string for invalid responses

**Throws:**

- [`PHXServerSideException`](PHXServerSideException.md) - thrown if something goes wrong. The exception message will contain the response from the server

### sendArbitraryRequest

```java
public java.lang.String sendArbitraryRequest(java.lang.String request)

```

**Deprecated.**

sends an arbitrary request to the server

**Parameters:**

- request - MCRE api command to send

**Returns:**

- the id for the response

### sendArbitraryRequest

```java
public java.lang.String sendArbitraryRequest(PHXStringBuffer request)

```

**Deprecated.**

sends an arbitrary request to the server

**Parameters:**

- request - MCRE api command to send

**Returns:**

- the id for the response

### getResponseAsText

```java
public java.lang.String getResponseAsText(java.lang.String id, 
                                          int type, 
                                          boolean wait)
                                   throws PHXResponseTypeMismatchException, 
                                          PHXNoSuchResponseException, 
                                          PHXServerSideException

```

**Deprecated.**

retrieves a low-level response from the server in String format.

**Parameters:**

- id - the id for the response
- type - the type of response to expect.
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### getResponseAsPHXStringBuffer

```java
public PHXStringBuffer getResponseAsPHXStringBuffer(java.lang.String id, 
                                                    int type, 
                                                    boolean wait)
                                             throws PHXResponseTypeMismatchException, 
                                                    PHXNoSuchResponseException, 
                                                    PHXServerSideException

```

**Deprecated.**

retrieves a low-level response from the server in String format.

**Parameters:**

- id - the id for the response
- type - the type of response to expect.
- wait - if true, the function blocks until the response is ready

**Returns:**

- the value of the property

**Throws:**

- [`PHXResponseTypeMismatchException`](PHXResponseTypeMismatchException.md) - thrown if the response type is not what was expected for this function.
- [`PHXNoSuchResponseException`](PHXNoSuchResponseException.md) - thrown if the response does not exist (may not have been returned from server yet).
- [`PHXServerSideException`](PHXServerSideException.md) - thrown if the the server returned an error

### main

```java
public static void main(java.lang.String[] args)

```

**Deprecated.**