|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.GISServerConnection
public class GISServerConnection
COM Class 'GISServerConnection'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'
Description 'The ServerConnection object for connecting to the GIS server and getting the ServerObjectManager and ServerObjectAdmin.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.server.IGISServerConnection2 |
---|
IID, IIDf6616298_396a_41f2_9a5b_0eed59af2e40, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IGISServerConnection |
---|
IIDe3105184_0aad_4706_9269_dcb5ff52036d |
Constructor Summary | |
---|---|
GISServerConnection()
Constructs a GISServerConnection using ArcGIS Engine. |
|
GISServerConnection(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GISServerConnection theGISServerConnection = (GISServerConnection) obj; |
Method Summary | |
---|---|
void |
connect(java.lang.String machineName)
Connects to the GIS server specified by the machineName. |
void |
connect2(java.lang.String userInfo,
java.lang.String machineName)
Connects the user specified by userInfo to the GIS server given by machineName. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IServerObjectAdmin |
getServerObjectAdmin()
The server object admin for the connected GIS server. |
IServerObjectManager |
getServerObjectManager()
The server object manager for the connected GIS server. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a GISServerConnection. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GISServerConnection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GISServerConnection(java.lang.Object obj) throws java.io.IOException
GISServerConnection theGISServerConnection = (GISServerConnection) obj;
obj
to GISServerConnection
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void connect(java.lang.String machineName) throws java.io.IOException, AutomationException
connect
in interface IGISServerConnection
machineName
- The machineName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectManager getServerObjectManager() throws java.io.IOException, AutomationException
getServerObjectManager
in interface IGISServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectAdmin getServerObjectAdmin() throws java.io.IOException, AutomationException
getServerObjectAdmin
in interface IGISServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect2(java.lang.String userInfo, java.lang.String machineName) throws java.io.IOException, AutomationException
connect2
in interface IGISServerConnection2
userInfo
- The userInfo (in)machineName
- The machineName (in)
java.io.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 |