|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.gisclient.AGSServerConnectionName
A name object for ArcGIS Server Connections.
The name object for an AGSServerConnection. The AGSServerConnectionName for an AGSServerConnection can be persisted, for example, in a map document. An application can call the Open method on the AGSServerConnectionName after loading it from persistent storage in order to connect to and get an object reference to the GIS server or web service catalog.
AGSServerConnection,
Serialized Form| Constructor Summary | |
AGSServerConnectionName()
Constructs a AGSServerConnectionName using ArcGIS Engine. |
|
AGSServerConnectionName(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IAGSServerConnectionName |
getAsIAGSServerConnectionName()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IAGSServerConnectionName2 |
getAsIAGSServerConnectionName2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IName |
getAsIName()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
IPropertySet |
getConnectionProperties()
The connection properties of the AGSServerConnectionName. |
java.lang.String |
getConnectionString()
The connection properties of the GIS server connection. |
int |
getConnectionType()
The type of the associated GIS server connection. |
java.lang.String |
getNameString()
The name string of the object. |
java.lang.String |
getServerConnectionFactoryProgID()
The programmatic ID of the server connection factory. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
Supported Platforms |
void |
load(IStream pstm)
Supported Platforms |
java.lang.Object |
open()
Opens the object referred to by this name. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
setConnectionProperties(IPropertySet ppConnProps)
The connection properties of the AGSServerConnectionName. |
void |
setConnectionString(java.lang.String connString)
The connection properties of the GIS server connection. |
void |
setNameString(java.lang.String nameString)
The name string of the object. |
void |
setServerConnectionFactoryProgID(java.lang.String progID)
The programmatic ID of the server connection factory. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AGSServerConnectionName()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public AGSServerConnectionName(java.lang.Object obj)
throws java.io.IOException
obj to AGSServerConnectionName. AGSServerConnectionName theAGSServerConnectionName = (AGSServerConnectionName) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IAGSServerConnectionName getAsIAGSServerConnectionName()
public IAGSServerConnectionName2 getAsIAGSServerConnectionName2()
public IName getAsIName()
public IPersistStream getAsIPersistStream()
public boolean equals(java.lang.Object o)
public int hashCode()
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.
public java.lang.String getConnectionString()
throws java.io.IOException,
AutomationException
IAGSServerConnectionName2
getConnectionString in interface IAGSServerConnectionName2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setConnectionString(java.lang.String connString)
throws java.io.IOException,
AutomationException
IAGSServerConnectionName2
setConnectionString in interface IAGSServerConnectionName2connString - The connString (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getServerConnectionFactoryProgID()
throws java.io.IOException,
AutomationException
IAGSServerConnectionName2
getServerConnectionFactoryProgID in interface IAGSServerConnectionName2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setServerConnectionFactoryProgID(java.lang.String progID)
throws java.io.IOException,
AutomationException
IAGSServerConnectionName2
setServerConnectionFactoryProgID in interface IAGSServerConnectionName2progID - The progID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setNameString(java.lang.String nameString)
throws java.io.IOException,
AutomationException
INameThe NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString in interface INamenameString - The nameString (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getNameString()
throws java.io.IOException,
AutomationException
INameThe NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString in interface INamejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object open()
throws java.io.IOException,
AutomationException
INameThe Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
open in interface INamejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - 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 | |||||||||