com.esri.arcgis.server
Interface ISOMController

All Superinterfaces:
Serializable
All Known Implementing Classes:
SOMController

public interface ISOMController
extends Serializable

Provides access to members that start and stop ArcGIS server.

Description

The SOMController class allows you to actually start and stop the GIS server. Use the methods on ISOMController to check to see if the server is running, and stop and start the server.

Product Availability

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


Method Summary
 boolean isStarted()
          Indicates if the server is started(true) or not(false).
 void start()
          Starts the SOM.
 void stop()
          Stops the SOM.
 

Method Detail

start

void start()
           throws IOException,
                  AutomationException
Starts the SOM.

Product Availability

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

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

stop

void stop()
          throws IOException,
                 AutomationException
Stops the SOM.

Product Availability

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

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

isStarted

boolean isStarted()
                  throws IOException,
                         AutomationException
Indicates if the server is started(true) or not(false).

Product Availability

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

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