|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.AISImageServerManager
public class AISImageServerManager
Image Server Manager CoClass
Constructor Summary | |
---|---|
AISImageServerManager()
Constructs a AISImageServerManager using ArcGIS Engine. |
|
AISImageServerManager(Object obj)
Construct a AISImageServerManager using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
addService(String servicePath,
String serviceName,
String serviceProperties,
String[] ispNames)
Adds an image service to the specified image service providers. |
boolean |
addServiceProvider(String ispName,
String ispHostMachine,
String ispHostPort)
Add a new image service provider using the specified friendly name on the specified host machine and port. |
boolean |
connect(String serverHost,
String serverPort)
Connects to an image server given host name and port. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getServerConfiguration()
Obtains the current configuration of the image server service as an XML string. |
String |
getServerInfo()
Obtains server information containing the list of all image service providers and image services as an XML string. |
String |
getServiceConfiguration()
Obtains current configuration of all image services hosted by the image server as an XML string. |
String |
getServiceDefinitionName(String servicePath)
Gets the service name of the image service, given the path to compiled service. |
String |
getServiceProviderConfiguration(String ispName)
Obtains the current configuration of the specified image service provider as an XML string defined by ISPConfig.xsd |
boolean |
getSOMRegisteredServer(String sOMHost,
String[] serverHost,
String[] serverPort)
Gets the server registered to a given host. |
String |
getStatus()
Gets the status XML details for any failure. |
int |
hashCode()
the hashcode for this object |
void |
refreshAllServices(boolean[] retStatus)
Reloads all the services. |
boolean |
refreshService(String serviceName)
Reloads the given service. |
boolean |
registerToSOM(String sOMHost,
String serverHost,
String serverPort)
Registers the server to a given ArcGIS Server Object Manager SOM. |
boolean |
removeService(String serviceName,
String[] ispNames)
Removes an image service from specified image service providers. |
boolean |
removeServiceProvider(String ispName)
Removes the specified image service provider. |
boolean |
startServer(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(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(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(String serviceName)
Stops an image service on the image service providers specified when the service was added. |
boolean |
stopServiceProvider(String ispName)
Stops the specified image service provider. |
boolean |
updateServerConfiguration(String serverConfigXml)
Updates configuration of the image server using the specified XML. |
boolean |
updateServiceConfiguration(String serviceConfigXml)
Updates configuration of the image server pertaining all image services using the specified XML string. |
boolean |
updateServiceProviderConfiguration(String ispName,
String ispConfigXml)
Updates configuration of an image service provider using the specifed XML. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public AISImageServerManager() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AISImageServerManager(Object obj) throws IOException
obj
to AISImageServerManager
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
AISImageServerManager theAISImageServerManager = (AISImageServerManager) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean connect(String serverHost, String serverPort) throws IOException, AutomationException
connect
in interface IAISImageServerManager
serverHost
- The serverHost (in)serverPort
- The serverPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean startServer(String serverHost) throws IOException, AutomationException
startServer
in interface IAISImageServerManager
serverHost
- The serverHost (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean stopServer() throws IOException, AutomationException
stopServer
in interface IAISImageServerManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServerInfo() throws IOException, AutomationException
getServerInfo
in interface IAISImageServerManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServerConfiguration() throws IOException, AutomationException
getServerConfiguration
in interface IAISImageServerManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean updateServerConfiguration(String serverConfigXml) throws IOException, AutomationException
updateServerConfiguration
in interface IAISImageServerManager
serverConfigXml
- The serverConfigXml (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServiceProviderConfiguration(String ispName) throws IOException, AutomationException
getServiceProviderConfiguration
in interface IAISImageServerManager
ispName
- The ispName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean updateServiceProviderConfiguration(String ispName, String ispConfigXml) throws IOException, AutomationException
updateServiceProviderConfiguration
in interface IAISImageServerManager
ispName
- The ispName (in)ispConfigXml
- The ispConfigXml (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean startServiceProvider(String ispName) throws IOException, AutomationException
startServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean stopServiceProvider(String ispName) throws IOException, AutomationException
stopServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean addServiceProvider(String ispName, String ispHostMachine, String ispHostPort) throws IOException, AutomationException
addServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)ispHostMachine
- The ispHostMachine (in)ispHostPort
- The ispHostPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean removeServiceProvider(String ispName) throws IOException, AutomationException
removeServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServiceConfiguration() throws IOException, AutomationException
getServiceConfiguration
in interface IAISImageServerManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean updateServiceConfiguration(String serviceConfigXml) throws IOException, AutomationException
updateServiceConfiguration
in interface IAISImageServerManager
serviceConfigXml
- The serviceConfigXml (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean startService(String serviceName) throws IOException, AutomationException
startService
in interface IAISImageServerManager
serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean stopService(String serviceName) throws IOException, AutomationException
stopService
in interface IAISImageServerManager
serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean removeService(String serviceName, String[] ispNames) throws IOException, AutomationException
removeService
in interface IAISImageServerManager
serviceName
- The serviceName (in)ispNames
- The ispNames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean addService(String servicePath, String serviceName, String serviceProperties, String[] ispNames) throws IOException, AutomationException
addService
in interface IAISImageServerManager
servicePath
- The servicePath (in)serviceName
- The serviceName (in)serviceProperties
- The serviceProperties (in)ispNames
- The ispNames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServiceDefinitionName(String servicePath) throws IOException, AutomationException
getServiceDefinitionName
in interface IAISImageServerManager
servicePath
- The servicePath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean refreshService(String serviceName) throws IOException, AutomationException
refreshService
in interface IAISImageServerManager
serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshAllServices(boolean[] retStatus) throws IOException, AutomationException
refreshAllServices
in interface IAISImageServerManager
retStatus
- The retStatus (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean registerToSOM(String sOMHost, String serverHost, String serverPort) throws IOException, AutomationException
registerToSOM
in interface IAISImageServerManager
sOMHost
- The sOMHost (in)serverHost
- The serverHost (in)serverPort
- The serverPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getSOMRegisteredServer(String sOMHost, String[] serverHost, String[] serverPort) throws IOException, AutomationException
getSOMRegisteredServer
in interface IAISImageServerManager
sOMHost
- The sOMHost (in)serverHost
- The serverHost (out: use single element array)serverPort
- The serverPort (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStatus() throws IOException, AutomationException
getStatus
in interface IAISImageServerManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |