com.esri.arcgis.server
Class IGISServerConnection2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IGISServerConnectionProxy
          extended by com.esri.arcgis.server.IGISServerConnection2Proxy
All Implemented Interfaces:
IGISServerConnection, IGISServerConnection2, Externalizable, Serializable

public class IGISServerConnection2Proxy
extends IGISServerConnectionProxy
implements IGISServerConnection2, Serializable

Provides access to methods that connect a specified user to an ArcGIS server.

Description

This interface is new at ArcGIS 9.3. It supersedes IGISServerConnection.

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
  IGISServerConnection2Proxy()
           
  IGISServerConnection2Proxy(Object obj)
           
protected IGISServerConnection2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void connect2(String userInfo, String machineName)
          Connects the user specified by userInfo to the GIS server given by machineName.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.server.IGISServerConnectionProxy
connect, getServerObjectAdmin, getServerObjectManager
 
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
 
Methods inherited from interface com.esri.arcgis.server.IGISServerConnection
connect, getServerObjectAdmin, getServerObjectManager
 

Constructor Detail

IGISServerConnection2Proxy

public IGISServerConnection2Proxy()

IGISServerConnection2Proxy

public IGISServerConnection2Proxy(Object obj)
                           throws IOException
Throws:
IOException

IGISServerConnection2Proxy

protected IGISServerConnection2Proxy(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 IGISServerConnectionProxy
Throws:
IOException

removeListener

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

connect2

public void connect2(String userInfo,
                     String machineName)
              throws IOException,
                     AutomationException
Connects the user specified by userInfo to the GIS server given by machineName.

Product Availability

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

Specified by:
connect2 in interface IGISServerConnection2
Parameters:
userInfo - The userInfo (in)
machineName - The machineName (in)
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 IGISServerConnectionProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class IGISServerConnectionProxy
Throws:
IOException
ClassNotFoundException