com.esri.arcgis.server
Class IGISServerProxy

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

public class IGISServerProxy
extends com.esri.arcgis.interop.Dispatch
implements IGISServer, Serializable

Provides access to members that manage the collection of IGISServer objects.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IGISServerProxy()
           
  IGISServerProxy(Object obj)
           
protected IGISServerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getAlias()
          The alias used to designate this server.
 int getConnectionType()
          The type of connection to the SOMs of this ArcGIS Server (Round Robin or FailOver).
 int getMaxRequestLength()
          The maximum length of a SOAP or Binary request that can be sent to this server.
 int getMessageFormat()
          The format, SOAP/Binary or both, of messages that are to be sent to the server.
 IServerInfos getServerInfos()
          Returns the collection of ServerInfo objects (SOMs) associated with this server.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setAlias(String alias)
          The alias used to designate this server.
 void setConnectionType(int serverInfos)
          The type of connection to the SOMs of this ArcGIS Server (Round Robin or FailOver).
 void setMaxRequestLength(int maxRequestLength)
          The maximum length of a SOAP or Binary request that can be sent to this server.
 void setMessageFormat(int msgFormat)
          The format, SOAP/Binary or both, of messages that are to be sent to the server.
 void setServerInfos(IServerInfos serverInfos)
          Returns the collection of ServerInfo objects (SOMs) associated with this server.
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IGISServerProxy

public IGISServerProxy()

IGISServerProxy

public IGISServerProxy(Object obj)
                throws IOException
Throws:
IOException

IGISServerProxy

protected IGISServerProxy(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

setAlias

public void setAlias(String alias)
              throws IOException,
                     AutomationException
The alias used to designate this server.

Product Availability

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

Specified by:
setAlias in interface IGISServer
Parameters:
alias - The alias (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAlias

public String getAlias()
                throws IOException,
                       AutomationException
The alias used to designate this server.

Product Availability

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

Specified by:
getAlias in interface IGISServer
Returns:
The alias
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServerInfos

public void setServerInfos(IServerInfos serverInfos)
                    throws IOException,
                           AutomationException
Returns the collection of ServerInfo objects (SOMs) associated with this server.

Product Availability

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

Specified by:
setServerInfos in interface IGISServer
Parameters:
serverInfos - A reference to a com.esri.arcgis.server.IServerInfos (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerInfos

public IServerInfos getServerInfos()
                            throws IOException,
                                   AutomationException
Returns the collection of ServerInfo objects (SOMs) associated with this server.

Product Availability

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

Specified by:
getServerInfos in interface IGISServer
Returns:
A reference to a com.esri.arcgis.server.IServerInfos
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionType

public void setConnectionType(int serverInfos)
                       throws IOException,
                              AutomationException
The type of connection to the SOMs of this ArcGIS Server (Round Robin or FailOver).

Product Availability

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

Specified by:
setConnectionType in interface IGISServer
Parameters:
serverInfos - A com.esri.arcgis.server.esriServerConnectionType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionType

public int getConnectionType()
                      throws IOException,
                             AutomationException
The type of connection to the SOMs of this ArcGIS Server (Round Robin or FailOver).

Product Availability

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

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

setMaxRequestLength

public void setMaxRequestLength(int maxRequestLength)
                         throws IOException,
                                AutomationException
The maximum length of a SOAP or Binary request that can be sent to this server.

Product Availability

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

Specified by:
setMaxRequestLength in interface IGISServer
Parameters:
maxRequestLength - The maxRequestLength (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxRequestLength

public int getMaxRequestLength()
                        throws IOException,
                               AutomationException
The maximum length of a SOAP or Binary request that can be sent to this server.

Product Availability

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

Specified by:
getMaxRequestLength in interface IGISServer
Returns:
The maxRequestLength
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessageFormat

public void setMessageFormat(int msgFormat)
                      throws IOException,
                             AutomationException
The format, SOAP/Binary or both, of messages that are to be sent to the server.

Product Availability

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

Specified by:
setMessageFormat in interface IGISServer
Parameters:
msgFormat - A com.esri.arcgis.server.esriServiceCatalogMessageFormat constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageFormat

public int getMessageFormat()
                     throws IOException,
                            AutomationException
The format, SOAP/Binary or both, of messages that are to be sent to the server.

Product Availability

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

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException