|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.gisclient.IAGSServerConnectionNameProxy
Provides access to members that supply GIS server connection name information.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IAGSServerConnectionNameProxy()
For internal use only |
|
IAGSServerConnectionNameProxy(java.lang.Object obj)
|
protected |
IAGSServerConnectionNameProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IAGSServerConnectionNameProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IAGSServerConnectionNameProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
IPropertySet |
getConnectionProperties()
The connection properties of the AGSServerConnectionName. |
int |
getConnectionType()
The type of the associated GIS server connection. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setConnectionProperties(IPropertySet ppConnProps)
The connection properties of the AGSServerConnectionName. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IAGSServerConnectionNameProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IAGSServerConnectionNameProxy()
public IAGSServerConnectionNameProxy(java.lang.Object obj)
throws java.io.IOException
protected IAGSServerConnectionNameProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IAGSServerConnectionNameProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public void setConnectionProperties(IPropertySet ppConnProps)
throws java.io.IOException,
AutomationException
IAGSServerConnectionNameThe connection properties required in the property set depend on whether you are creating an AGSServerConnectionName which represents a direct connection to a GIS server over a LAN, or if it represetns a connection to a web service catalog. When connecting to a GIS server over the LAN, you need to set the machine property to be the name of the GIS server machine. When connecting to a web service catalog, you need to set the url property to the url of the web service catalog.
If the web service catalog you are connecting to is secure and requires a username and password, include them in the property set as the user and password properties, respectivly.
setConnectionProperties in interface IAGSServerConnectionNameppConnProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPropertySet getConnectionProperties()
throws java.io.IOException,
AutomationException
IAGSServerConnectionName
getConnectionProperties in interface IAGSServerConnectionNameAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getConnectionType()
throws java.io.IOException,
AutomationException
IAGSServerConnectionNameThe ConnectionType property will return the type of connection based on the property above. The connection types are described by esriAGSConnectionType whose values are esriAGSConnectionTypeLAN and esriAGSConnectionTypeInternet.
getConnectionType in interface IAGSServerConnectionNameAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||