Class AISImageServerManagerClass

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("4E5DAA92-6358-4B49-9239-04AB2EBD5D50")]
public class AISImageServerManagerClass : AISImageServerManager, IAISImageServerManager
Inheritance
AISImageServerManagerClass
Implements
Inherited Members

Constructors

AISImageServerManagerClass()

public AISImageServerManagerClass()

Explicit Interface Implementations

AddService(string, string, string, ref string[])

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.

virtual bool AddService(string servicePath, string serviceName, string ServiceProperties, ref string[] ispNames)

Parameters

servicePath string
serviceName string
ServiceProperties string
ispNames string[]

Returns

bool

AddServiceProvider(string, string, string)

Add a new image service provider using the specified friendly name on the specified host machine and port.

virtual bool AddServiceProvider(string ispName, string ispHostMachine, string ispHostPort)

Parameters

ispName string
ispHostMachine string
ispHostPort string

Returns

bool

Connect(string, string)

Connects to an image server given host name and port.

virtual bool Connect(string serverHost, string serverPort)

Parameters

serverHost string
serverPort string

Returns

bool

GetSOMRegisteredServer(string, out string, out string)

Gets the server registered to a given host.

virtual bool GetSOMRegisteredServer(string SOMHost, out string serverHost, out string serverPort)

Parameters

SOMHost string
serverHost string
serverPort string

Returns

bool

GetServerConfiguration()

Obtains the current configuration of the image server service as an XML string. The XML is defined by ISSConfig.xsd.

virtual string GetServerConfiguration()

Returns

string

GetServerInfo()

Obtains server information containing the list of all image service providers and image services as an XML string.

virtual string GetServerInfo()

Returns

string

GetServiceConfiguration()

Obtains current configuration of all image services hosted by the image server as an XML string. The XML is defined by ISServices.xsd.

virtual string GetServiceConfiguration()

Returns

string

GetServiceDefinitionName(string)

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.

virtual string GetServiceDefinitionName(string servicePath)

Parameters

servicePath string

Returns

string

GetServiceProviderConfiguration(string)

Obtains the current configuration of the specified image service provider as an XML string defined by ISPConfig.xsd

virtual string GetServiceProviderConfiguration(string ispName)

Parameters

ispName string

Returns

string

GetStatus()

Gets the status XML details for any failure.

virtual string GetStatus()

Returns

string

RefreshAllServices(ref bool)

Reloads all the services.

virtual void RefreshAllServices(ref bool retStatus)

Parameters

retStatus bool

RefreshService(string)

Reloads the given service.

virtual bool RefreshService(string serviceName)

Parameters

serviceName string

Returns

bool

RegisterToSOM(string, string, string)

Registers the server to a given ArcGIS Server Object Manager SOM.

virtual bool RegisterToSOM(string SOMHost, string serverHost, string serverPort)

Parameters

SOMHost string
serverHost string
serverPort string

Returns

bool

RemoveService(string, ref string[])

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.

virtual bool RemoveService(string serviceName, ref string[] ispNames)

Parameters

serviceName string
ispNames string[]

Returns

bool

RemoveServiceProvider(string)

Removes the specified image service provider.

virtual bool RemoveServiceProvider(string ispName)

Parameters

ispName string

Returns

bool

StartServer(string)

Starts the image server service on the specified host machine using the default port or the last saved configuration on the host machine.

virtual bool StartServer(string serverHost)

Parameters

serverHost string

Returns

bool

StartService(string)

Publishes the specified compiled service definition file as an image service on the image service providers specified when the service was added.

virtual bool StartService(string serviceName)

Parameters

serviceName string

Returns

bool

StartServiceProvider(string)

Starts the specified image service provider using either the default or the last saved configuration.

virtual bool StartServiceProvider(string ispName)

Parameters

ispName string

Returns

bool

StopServer()

Stops the image server service. Can be invoked only after connecting to the image server.

virtual bool StopServer()

Returns

bool

StopService(string)

Stops an image service on the image service providers specified when the service was added.

virtual bool StopService(string serviceName)

Parameters

serviceName string

Returns

bool

StopServiceProvider(string)

Stops the specified image service provider.

virtual bool StopServiceProvider(string ispName)

Parameters

ispName string

Returns

bool

UpdateServerConfiguration(string)

Updates configuration of the image server using the specified XML. The XML is defined by ISSConfig.xsd.

virtual bool UpdateServerConfiguration(string serverConfigXml)

Parameters

serverConfigXml string

Returns

bool

UpdateServiceConfiguration(string)

Updates configuration of the image server pertaining all image services using the specified XML string. The XML is defined by ISServices.xsd.

virtual bool UpdateServiceConfiguration(string serviceConfigXml)

Parameters

serviceConfigXml string

Returns

bool

UpdateServiceProviderConfiguration(string, string)

Updates configuration of an image service provider using the specifed XML. The XML is defined by ISPConfig.xsd

virtual bool UpdateServiceProviderConfiguration(string ispName, string ispConfigXml)

Parameters

ispName string
ispConfigXml string

Returns

bool