com.esri.arcgis.server
Class IServerStatusProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerStatusProxy
All Implemented Interfaces:
IServerStatus, java.io.Externalizable, java.io.Serializable

public class IServerStatusProxy
extends com.esri.arcgis.interop.Dispatch
implements IServerStatus, java.io.Serializable

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

Description: 'Provides access to the properties of the status of the ArcGIS Server.' 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.IServerStatus
IID, IIDde94c160_5101_49a4_bab4_6893745f01ce
 
Constructor Summary
  IServerStatusProxy()
          For internal use only
  IServerStatusProxy(java.lang.Object obj)
           
protected IServerStatusProxy(java.lang.Object obj, java.lang.String iid)
           
  IServerStatusProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IServerStatusProxy(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)
           
 IServerObjectConfigurationStatus getConfigurationStatus(java.lang.String name, java.lang.String typeName)
          Gets the configuration status for the server object configuration with the specified Name and TypeName.
 int getInstanceCount(int access)
          The number of server object instances currently running in the ArcGIS server.
 int getInstanceInUseCount(int access)
          The number of currently running server object instances in use by clients of the ArcGIS server.
 IServerMachineStatus getMachineStatus(java.lang.String machine)
          Gets the status for an ArcGIS Server host machine.
 java.util.Date getStartTime()
          The time that the server was started.
 boolean isEnabled()
          Indicates if the server is started and enabled(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

IServerStatusProxy

public IServerStatusProxy(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

IServerStatusProxy

public IServerStatusProxy()
For internal use only


IServerStatusProxy

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

IServerStatusProxy

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

IServerStatusProxy

protected IServerStatusProxy(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 the ArcGIS server.

Specified by:
getInstanceCount in interface IServerStatus
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 the ArcGIS server.

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

getConfigurationStatus

public IServerObjectConfigurationStatus getConfigurationStatus(java.lang.String name,
                                                               java.lang.String typeName)
                                                        throws java.io.IOException,
                                                               AutomationException
Gets the configuration status for the server object configuration with the specified Name and TypeName.

Specified by:
getConfigurationStatus in interface IServerStatus
Parameters:
name - The name (in)
typeName - The typeName (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectConfigurationStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMachineStatus

public IServerMachineStatus getMachineStatus(java.lang.String machine)
                                      throws java.io.IOException,
                                             AutomationException
Gets the status for an ArcGIS Server host machine.

Specified by:
getMachineStatus in interface IServerStatus
Parameters:
machine - The machine (in)
Returns:
A reference to a com.esri.arcgis.server.IServerMachineStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartTime

public java.util.Date getStartTime()
                            throws java.io.IOException,
                                   AutomationException
The time that the server was started.

Specified by:
getStartTime in interface IServerStatus
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 the server is started and enabled(true) or not(false).

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