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, java.io.Externalizable, java.io.Serializable

public class IServerMachineStatusProxy
extends com.esri.arcgis.interop.Dispatch
implements IServerMachineStatus, java.io.Serializable

Internal use class Proxy for COM Interface 'IServerMachineStatus'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description: 'Provides access to the properties of the status of a specific SOC machine.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.server.IServerMachineStatus
IID, IID67e836a4_01f1_450c_97be_21ab9a3f3c11
 
Constructor Summary
  IServerMachineStatusProxy()
          For internal use only
  IServerMachineStatusProxy(java.lang.Object obj)
           
protected IServerMachineStatusProxy(java.lang.Object obj, java.lang.String iid)
           
  IServerMachineStatusProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IServerMachineStatusProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.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(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IServerMachineStatusProxy

public IServerMachineStatusProxy(java.lang.String CLSID,
                                 java.lang.String host,
                                 com.esri.arcgis.interop.AuthInfo authInfo)
                          throws java.net.UnknownHostException,
                                 java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IServerMachineStatusProxy

public IServerMachineStatusProxy()
For internal use only


IServerMachineStatusProxy

public IServerMachineStatusProxy(java.lang.Object obj)
                          throws java.io.IOException
Throws:
java.io.IOException

IServerMachineStatusProxy

protected IServerMachineStatusProxy(java.lang.Object obj,
                                    java.lang.String iid)
                             throws java.io.IOException
Throws:
java.io.IOException

IServerMachineStatusProxy

protected IServerMachineStatusProxy(java.lang.String CLSID,
                                    java.lang.String iid,
                                    java.lang.String host,
                                    com.esri.arcgis.interop.AuthInfo authInfo)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

getInstanceCount

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

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

getInstanceInUseCount

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

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

isEnabled

public boolean isEnabled()
                  throws java.io.IOException,
                         AutomationException
Indicates if machine is connected and can be used by server(true) or not(false).

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