com.esri.arcgis.gisclient
Interface IAGSServerObject2

All Superinterfaces:
IAGSServerObject, Serializable
All Known Implementing Classes:
GeoDataServerIP, GeoDataServerLP, GlobeServerIP, GlobeServerLP, GPServerIP, GPServerLP, GraphicFeatureServerIP, GraphicFeatureServerLP, ImageServerIP, ImageServerLP, MapServerIP, MapServerLP, MobileServerIP, MobileServerLP, NAServerIP, NAServerLP

public interface IAGSServerObject2
extends IAGSServerObject, Serializable

Provides access to properties of a server object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 

Method Detail

getFullName

IName getFullName()
                  throws IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHttpTimeout

void setHttpTimeout(int secs)
                    throws IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getHttpTimeout

int getHttpTimeout()
                   throws IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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