com.esri.arcgis.datasourcesraster
Class IAISImageServerManagerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IAISImageServerManagerProxy
All Implemented Interfaces:
IAISImageServerManager, java.io.Externalizable, java.io.Serializable

public class IAISImageServerManagerProxy
extends com.esri.arcgis.interop.Dispatch
implements IAISImageServerManager, java.io.Serializable

Internal use class Proxy for COM Interface 'IAISImageServerManager'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Server Manager Interface' 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.datasourcesraster.IAISImageServerManager
IID, IID386959af_5544_4846_ba4b_934e1408008b
 
Constructor Summary
  IAISImageServerManagerProxy()
          For internal use only
  IAISImageServerManagerProxy(java.lang.Object obj)
           
protected IAISImageServerManagerProxy(java.lang.Object obj, java.lang.String iid)
           
  IAISImageServerManagerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IAISImageServerManagerProxy(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)
           
 boolean addService(java.lang.String servicePath, java.lang.String serviceName, java.lang.String serviceProperties, java.lang.String[] ispNames)
          Adds an image service to the specified image service providers.
 boolean addServiceProvider(java.lang.String ispName, java.lang.String ispHostMachine, java.lang.String ispHostPort)
          Add a new image service provider using the specified friendly name on the specified host machine and port.
 boolean connect(java.lang.String serverHost, java.lang.String serverPort)
          Connects to an image server given host name and port.
 java.lang.String getServerConfiguration()
          Obtains the current configuration of the image server service as an XML string.
 java.lang.String getServerInfo()
          Obtains server information containing the list of all image service providers and image services as an XML string.
 java.lang.String getServiceConfiguration()
          Obtains current configuration of all image services hosted by the image server as an XML string.
 java.lang.String getServiceDefinitionName(java.lang.String servicePath)
          Gets the service name of the image service, given the path to compiled service.
 java.lang.String getServiceProviderConfiguration(java.lang.String ispName)
          Obtains the current configuration of the specified image service provider as an XML string defined by ISPConfig.xsd
 boolean getSOMRegisteredServer(java.lang.String sOMHost, java.lang.String[] serverHost, java.lang.String[] serverPort)
          Gets the server registered to a given host.
 java.lang.String getStatus()
          Gets the status XML details for any failure.
 void refreshAllServices(boolean[] retStatus)
          Reloads all the services.
 boolean refreshService(java.lang.String serviceName)
          Reloads the given service.
 boolean registerToSOM(java.lang.String sOMHost, java.lang.String serverHost, java.lang.String serverPort)
          Registers the server to a given ArcGIS Server Object Manager SOM.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 boolean removeService(java.lang.String serviceName, java.lang.String[] ispNames)
          Removes an image service from specified image service providers.
 boolean removeServiceProvider(java.lang.String ispName)
          Removes the specified image service provider.
 boolean startServer(java.lang.String serverHost)
          Starts the image server service on the specified host machine using the default port or the last saved configuration on the host machine.
 boolean startService(java.lang.String serviceName)
          Publishes the specified compiled service definition file as an image service on the image service providers specified when the service was added.
 boolean startServiceProvider(java.lang.String ispName)
          Starts the specified image service provider using either the default or the last saved configuration.
 boolean stopServer()
          Stops the image server service.
 boolean stopService(java.lang.String serviceName)
          Stops an image service on the image service providers specified when the service was added.
 boolean stopServiceProvider(java.lang.String ispName)
          Stops the specified image service provider.
 boolean updateServerConfiguration(java.lang.String serverConfigXml)
          Updates configuration of the image server using the specified XML.
 boolean updateServiceConfiguration(java.lang.String serviceConfigXml)
          Updates configuration of the image server pertaining all image services using the specified XML string.
 boolean updateServiceProviderConfiguration(java.lang.String ispName, java.lang.String ispConfigXml)
          Updates configuration of an image service provider using the specifed XML.
 
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

IAISImageServerManagerProxy

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

IAISImageServerManagerProxy

public IAISImageServerManagerProxy()
For internal use only


IAISImageServerManagerProxy

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

IAISImageServerManagerProxy

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

IAISImageServerManagerProxy

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

connect

public boolean connect(java.lang.String serverHost,
                       java.lang.String serverPort)
                throws java.io.IOException,
                       AutomationException
Connects to an image server given host name and port.

Specified by:
connect in interface IAISImageServerManager
Parameters:
serverHost - The serverHost (in)
serverPort - The serverPort (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startServer

public boolean startServer(java.lang.String serverHost)
                    throws java.io.IOException,
                           AutomationException
Starts the image server service on the specified host machine using the default port or the last saved configuration on the host machine.

Specified by:
startServer in interface IAISImageServerManager
Parameters:
serverHost - The serverHost (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopServer

public boolean stopServer()
                   throws java.io.IOException,
                          AutomationException
Stops the image server service. Can be invoked only after connecting to the image server.

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

getServerInfo

public java.lang.String getServerInfo()
                               throws java.io.IOException,
                                      AutomationException
Obtains server information containing the list of all image service providers and image services as an XML string.

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

getServerConfiguration

public java.lang.String getServerConfiguration()
                                        throws java.io.IOException,
                                               AutomationException
Obtains the current configuration of the image server service as an XML string. The XML is defined by ISSConfig.xsd.

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

updateServerConfiguration

public boolean updateServerConfiguration(java.lang.String serverConfigXml)
                                  throws java.io.IOException,
                                         AutomationException
Updates configuration of the image server using the specified XML. The XML is defined by ISSConfig.xsd.

Specified by:
updateServerConfiguration in interface IAISImageServerManager
Parameters:
serverConfigXml - The serverConfigXml (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceProviderConfiguration

public java.lang.String getServiceProviderConfiguration(java.lang.String ispName)
                                                 throws java.io.IOException,
                                                        AutomationException
Obtains the current configuration of the specified image service provider as an XML string defined by ISPConfig.xsd

Specified by:
getServiceProviderConfiguration in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
Returns:
The configXml
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateServiceProviderConfiguration

public boolean updateServiceProviderConfiguration(java.lang.String ispName,
                                                  java.lang.String ispConfigXml)
                                           throws java.io.IOException,
                                                  AutomationException
Updates configuration of an image service provider using the specifed XML. The XML is defined by ISPConfig.xsd

Specified by:
updateServiceProviderConfiguration in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
ispConfigXml - The ispConfigXml (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startServiceProvider

public boolean startServiceProvider(java.lang.String ispName)
                             throws java.io.IOException,
                                    AutomationException
Starts the specified image service provider using either the default or the last saved configuration.

Specified by:
startServiceProvider in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopServiceProvider

public boolean stopServiceProvider(java.lang.String ispName)
                            throws java.io.IOException,
                                   AutomationException
Stops the specified image service provider.

Specified by:
stopServiceProvider in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addServiceProvider

public boolean addServiceProvider(java.lang.String ispName,
                                  java.lang.String ispHostMachine,
                                  java.lang.String ispHostPort)
                           throws java.io.IOException,
                                  AutomationException
Add a new image service provider using the specified friendly name on the specified host machine and port.

Specified by:
addServiceProvider in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
ispHostMachine - The ispHostMachine (in)
ispHostPort - The ispHostPort (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeServiceProvider

public boolean removeServiceProvider(java.lang.String ispName)
                              throws java.io.IOException,
                                     AutomationException
Removes the specified image service provider.

Specified by:
removeServiceProvider in interface IAISImageServerManager
Parameters:
ispName - The ispName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceConfiguration

public java.lang.String getServiceConfiguration()
                                         throws java.io.IOException,
                                                AutomationException
Obtains current configuration of all image services hosted by the image server as an XML string. The XML is defined by ISServices.xsd.

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

updateServiceConfiguration

public boolean updateServiceConfiguration(java.lang.String serviceConfigXml)
                                   throws java.io.IOException,
                                          AutomationException
Updates configuration of the image server pertaining all image services using the specified XML string. The XML is defined by ISServices.xsd.

Specified by:
updateServiceConfiguration in interface IAISImageServerManager
Parameters:
serviceConfigXml - The serviceConfigXml (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startService

public boolean startService(java.lang.String serviceName)
                     throws java.io.IOException,
                            AutomationException
Publishes the specified compiled service definition file as an image service on the image service providers specified when the service was added.

Specified by:
startService in interface IAISImageServerManager
Parameters:
serviceName - The serviceName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopService

public boolean stopService(java.lang.String serviceName)
                    throws java.io.IOException,
                           AutomationException
Stops an image service on the image service providers specified when the service was added.

Specified by:
stopService in interface IAISImageServerManager
Parameters:
serviceName - The serviceName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeService

public boolean removeService(java.lang.String serviceName,
                             java.lang.String[] ispNames)
                      throws java.io.IOException,
                             AutomationException
Removes an image service from specified image service providers. Pass an empty array to indicate all available image service providers known by the server. ServiceName is optional.

Specified by:
removeService in interface IAISImageServerManager
Parameters:
serviceName - The serviceName (in)
ispNames - The ispNames (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addService

public boolean addService(java.lang.String servicePath,
                          java.lang.String serviceName,
                          java.lang.String serviceProperties,
                          java.lang.String[] ispNames)
                   throws java.io.IOException,
                          AutomationException
Adds an image service to the specified image service providers. Pass an empty array to indicate all available image service providers known by the server. Service name and service properties are optional.

Specified by:
addService in interface IAISImageServerManager
Parameters:
servicePath - The servicePath (in)
serviceName - The serviceName (in)
serviceProperties - The serviceProperties (in)
ispNames - The ispNames (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceDefinitionName

public java.lang.String getServiceDefinitionName(java.lang.String servicePath)
                                          throws java.io.IOException,
                                                 AutomationException
Gets the service name of the image service, given the path to compiled service. Returns an empty string if the service was never published or has not been started.

Specified by:
getServiceDefinitionName in interface IAISImageServerManager
Parameters:
servicePath - The servicePath (in)
Returns:
The serviceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshService

public boolean refreshService(java.lang.String serviceName)
                       throws java.io.IOException,
                              AutomationException
Reloads the given service.

Specified by:
refreshService in interface IAISImageServerManager
Parameters:
serviceName - The serviceName (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshAllServices

public void refreshAllServices(boolean[] retStatus)
                        throws java.io.IOException,
                               AutomationException
Reloads all the services.

Specified by:
refreshAllServices in interface IAISImageServerManager
Parameters:
retStatus - The retStatus (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerToSOM

public boolean registerToSOM(java.lang.String sOMHost,
                             java.lang.String serverHost,
                             java.lang.String serverPort)
                      throws java.io.IOException,
                             AutomationException
Registers the server to a given ArcGIS Server Object Manager SOM.

Specified by:
registerToSOM in interface IAISImageServerManager
Parameters:
sOMHost - The sOMHost (in)
serverHost - The serverHost (in)
serverPort - The serverPort (in)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSOMRegisteredServer

public boolean getSOMRegisteredServer(java.lang.String sOMHost,
                                      java.lang.String[] serverHost,
                                      java.lang.String[] serverPort)
                               throws java.io.IOException,
                                      AutomationException
Gets the server registered to a given host.

Specified by:
getSOMRegisteredServer in interface IAISImageServerManager
Parameters:
sOMHost - The sOMHost (in)
serverHost - The serverHost (out: use single element array)
serverPort - The serverPort (out: use single element array)
Returns:
The retStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatus

public java.lang.String getStatus()
                           throws java.io.IOException,
                                  AutomationException
Gets the status XML details for any failure.

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