com.esri.arcgis.server
Interface IServerMachineStatus

All Superinterfaces:
Serializable
All Known Implementing Classes:
IServerMachineStatusProxy, ServerMachineStatus

public interface IServerMachineStatus
extends Serializable

Provides access to the properties of the status of a specific SOC machine.

Remarks

The IServerMachineStatus interface is returned by the GetMachineStatus method of the IServerStatus interface and provides information about the number of server object instances running and in use on the machine specified as an argument to the GetMachineStatus method.

Product Availability

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


Method Summary
 int getInstanceCount(int access)
          The number of server object instances currently running in this SOC machine.
 int getInstanceInUseCount(int access)
          The number of currently running server object instances in use by clients of this SOC machine.
 boolean isEnabled()
          Indicates if machine is connected and can be used by server(true) or not(false).
 

Method Detail

getInstanceCount

int getInstanceCount(int access)
                     throws IOException,
                            AutomationException
The number of server object instances currently running in this SOC machine.

Product Availability

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

Parameters:
access - A com.esri.arcgis.server.esriAccessLevel constant (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInstanceInUseCount

int getInstanceInUseCount(int access)
                          throws IOException,
                                 AutomationException
The number of currently running server object instances in use by clients of this SOC machine.

Product Availability

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

Parameters:
access - A com.esri.arcgis.server.esriAccessLevel constant (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnabled

boolean isEnabled()
                  throws IOException,
                         AutomationException
Indicates if machine is connected and can be used by server(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.