com.esri.arcgis.server
Class IServerDirectory2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerDirectoryProxy
          extended by com.esri.arcgis.server.IServerDirectory2Proxy
All Implemented Interfaces:
IServerDirectory, IServerDirectory2, Externalizable, Serializable

public class IServerDirectory2Proxy
extends IServerDirectoryProxy
implements IServerDirectory2, Serializable

Provides access to members that control the behavior and properties of a server directory to administrators.

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
  IServerDirectory2Proxy()
           
  IServerDirectory2Proxy(Object obj)
           
protected IServerDirectory2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getType()
          The Type of server directory.
 void removeListener(String iidStr, Object theListener)
           
 void setType(int pType)
          The Type of server directory.
 
Methods inherited from class com.esri.arcgis.server.IServerDirectoryProxy
getCleaningMode, getDescription, getMaxFileAge, getPath, getURL, setCleaningMode, setDescription, setMaxFileAge, setPath, setURL
 
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
 
Methods inherited from interface com.esri.arcgis.server.IServerDirectory
getCleaningMode, getDescription, getMaxFileAge, getPath, getURL, setCleaningMode, setDescription, setMaxFileAge, setPath, setURL
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerDirectory2Proxy

public IServerDirectory2Proxy()

IServerDirectory2Proxy

public IServerDirectory2Proxy(Object obj)
                       throws IOException
Throws:
IOException

IServerDirectory2Proxy

protected IServerDirectory2Proxy(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 IServerDirectoryProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IServerDirectoryProxy
Throws:
IOException

getType

public int getType()
            throws IOException,
                   AutomationException
The Type of server directory.

Product Availability

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

Specified by:
getType in interface IServerDirectory2
Returns:
A com.esri.arcgis.server.esriServerDirectoryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(int pType)
             throws IOException,
                    AutomationException
The Type of server directory.

Product Availability

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

Specified by:
setType in interface IServerDirectory2
Parameters:
pType - A com.esri.arcgis.server.esriServerDirectoryType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.