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

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

Description: 'Provides access to methods that connect a specified user to an 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 =

public class IGISServerConnection2Proxy
extends IGISServerConnectionProxy
implements IGISServerConnection2, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
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.IGISServerConnection2
IID, IIDf6616298_396a_41f2_9a5b_0eed59af2e40
 
Fields inherited from interface com.esri.arcgis.server.IGISServerConnection
IIDe3105184_0aad_4706_9269_dcb5ff52036d
 
Constructor Summary
  IGISServerConnection2Proxy()
          Deprecated. For internal use only
  IGISServerConnection2Proxy(java.lang.Object obj)
          Deprecated.  
protected IGISServerConnection2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IGISServerConnection2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IGISServerConnection2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void connect2(java.lang.String userInfo, java.lang.String machineName)
          Deprecated. Connects the user specified by userInfo to the GIS server given by machineName.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 
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, 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.IGISServerConnection
connect, getServerObjectAdmin, getServerObjectManager
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IGISServerConnection2Proxy

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

IGISServerConnection2Proxy

public IGISServerConnection2Proxy()
Deprecated. 
For internal use only


IGISServerConnection2Proxy

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

IGISServerConnection2Proxy

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

IGISServerConnection2Proxy

protected IGISServerConnection2Proxy(java.lang.String CLSID,
                                     java.lang.String iid,
                                     java.lang.String host,
                                     com.esri.arcgis.interop.AuthInfo authInfo)
                              throws java.io.IOException
Deprecated. 
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
Deprecated. 
Overrides:
addListener in class IGISServerConnectionProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class IGISServerConnectionProxy
Throws:
java.io.IOException

connect2

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

Specified by:
connect2 in interface IGISServerConnection2
Parameters:
userInfo - The userInfo (in)
machineName - The machineName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.