|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebConnection
public class ArcWebConnection
A connection singleton to ArcWeb services.
| Constructor Summary | |
|---|---|
ArcWebConnection()
Constructs a ArcWebConnection using ArcGIS Engine. |
|
ArcWebConnection(Object obj)
Construct a ArcWebConnection using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
connect(String userName,
String password,
boolean useHTTPS,
ITrackCancel pCancelTracker)
Connects to an ArcWeb server. |
void |
disconnect()
Disconnects an existing ArcWeb connection. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getVersion()
Version number of the Arcweb service. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isSecure()
Indicates if the connection is secure. |
boolean |
isValid()
Indicates if the connection is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ArcWebConnection()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ArcWebConnection(Object obj)
throws IOException
obj to ArcWebConnection.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ArcWebConnection theArcWebConnection = (ArcWebConnection) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void connect(String userName,
String password,
boolean useHTTPS,
ITrackCancel pCancelTracker)
throws IOException,
AutomationException
connect in interface IArcWebConnectionuserName - The userName (in)password - The password (in)useHTTPS - The useHTTPS (in)pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disconnect()
throws IOException,
AutomationException
disconnect in interface IArcWebConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValid()
throws IOException,
AutomationException
isValid in interface IArcWebConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getVersion()
throws IOException,
AutomationException
getVersion in interface IArcWebConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSecure()
throws IOException,
AutomationException
isSecure in interface IArcWebConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||