com.esri.arcgis.server
Class IServerMachineStatusProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerMachineStatusProxy
All Implemented Interfaces:
IServerMachineStatus, Externalizable, Serializable

public class IServerMachineStatusProxy
extends com.esri.arcgis.interop.Dispatch
implements IServerMachineStatus, 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.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServerMachineStatusProxy()
           
  IServerMachineStatusProxy(Object obj)
           
protected IServerMachineStatusProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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).
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerMachineStatusProxy

public IServerMachineStatusProxy()

IServerMachineStatusProxy

public IServerMachineStatusProxy(Object obj)
                          throws IOException
Throws:
IOException

IServerMachineStatusProxy

protected IServerMachineStatusProxy(Object obj,
                                    String iid)
                             throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getInstanceCount

public 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.

Specified by:
getInstanceCount in interface IServerMachineStatus
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

public 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.

Specified by:
getInstanceInUseCount in interface IServerMachineStatus
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

public 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.

Specified by:
isEnabled in interface IServerMachineStatus
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.