| java.lang.Object org.cougaar.logistics.ui.inventory.ConnectionHelper
ConnectionHelper | public class ConnectionHelper (Code) | | Creates connection between client and XML Plan Server.
|
Method Summary | |
public void | closeConnection() | public Hashtable | getAllClusterIdsAndURLs(java.awt.Component parent) Returns a list of cluster identifiers from the debug PSP
located at the cluster specified in this class's constructor. | public static String | getClusterHostPort(java.awt.Component parent) | public static String | getClusterHostPort(java.awt.Component parent, Object msgString, String host, String port) | protected Hashtable | getClusterIdsAndURLs(java.awt.Component parent, String querySuffix, String agentPath, boolean addBackURLs) Returns a list of cluster identifiers from the debug PSP
located at the cluster specified in this class's constructor. | public Hashtable | getClusterIdsAndURLs(java.awt.Component parent, String agentPath) Returns a list of cluster identifiers from the debug PSP
located at the cluster specified in this class's constructor. | public static Hashtable | getClusterInfo(java.awt.Component parent) | public static Hashtable | getClusterInfo(java.awt.Component parent, Object msg, String hostName, String port) | public URLConnection | getConnection() | public InputStream | getInputStream() Returns input stream for the connection. | public byte[] | getResponse() Sends data and returns response in buffer. | public URL | getURL() | public void | sendData(String s) Sends data on the connection. | public void | setConnection(String completeURLString) |
isDebugPSP | boolean isDebugPSP(Code) | | |
ConnectionHelper | public ConnectionHelper()(Code) | | If you create a ConnectionHelper instance with 0 params. must
call setConnection()... to intialize connection
|
getClusterHostPort | public static String getClusterHostPort(java.awt.Component parent)(Code) | | getClusterInfo - get the location of the cluster
Only used when running in an application
|
getResponse | public byte[] getResponse() throws IOException(Code) | | Sends data and returns response in buffer.
|
getURL | public URL getURL()(Code) | | getURL - returns URL for the connection
URL for the connection |
|
|