com.esri.arcgis.gisclient
Interface IAGSServerConnectionFactory2

All Superinterfaces:
IAGSServerConnectionFactory, java.io.Serializable
All Known Subinterfaces:
IAGSServerConnectionFactory3
All Known Implementing Classes:
AGSServerConnectionFactory, IAGSServerConnectionFactory2Proxy, IAGSServerConnectionFactory3Proxy

public interface IAGSServerConnectionFactory2
extends IAGSServerConnectionFactory, java.io.Serializable

COM Interface 'IAGSServerConnectionFactory2'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriGISClient.olb'

Description: 'Provides access to members that create and open GIS server connections and supply server connection factory information.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID0264ca94_b0eb_435f_9d3a_5fcc5da0fbae
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory
IID6047c9fc_2d91_420a_a5a2_eb36b7e2fea2
 
Method Summary
 int getDefaultHttpTimeout()
          The default timeout for http requests to the server (in seconds).
 IAGSServerConnection openFromFile(java.lang.String fileName, int hWnd)
          Opens the server connection specified by the given file name.
 IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName)
          The connection properties from the specified file.
 void setDefaultHttpTimeout(int seconds)
          The default timeout for http requests to the server (in seconds).
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory
open
 

Field Detail

IID0264ca94_b0eb_435f_9d3a_5fcc5da0fbae

static final int IID0264ca94_b0eb_435f_9d3a_5fcc5da0fbae
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

openFromFile

IAGSServerConnection openFromFile(java.lang.String fileName,
                                  int hWnd)
                                  throws java.io.IOException,
                                         AutomationException
Opens the server connection specified by the given file name.

Parameters:
fileName - The fileName (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IAGSServerConnection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readConnectionPropertiesFromFile

IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName)
                                              throws java.io.IOException,
                                                     AutomationException
The connection properties from the specified file.

Parameters:
fileName - The fileName (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultHttpTimeout

void setDefaultHttpTimeout(int seconds)
                           throws java.io.IOException,
                                  AutomationException
The default timeout for http requests to the server (in seconds).

Parameters:
seconds - The seconds (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultHttpTimeout

int getDefaultHttpTimeout()
                          throws java.io.IOException,
                                 AutomationException
The default timeout for http requests to the server (in seconds).

Returns:
The seconds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.