com.esri.arcgis.search
Class SearchServerIP

java.lang.Object
  extended by com.esri.arcgis.search.SearchServerIP
All Implemented Interfaces:
IAGSServerObject, IAGSServerObject2, com.esri.arcgis.interop.RemoteObjRef, ISearchServer, ISupportErrorInfo, Serializable

public class SearchServerIP
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObject2, IAGSServerObject, ISearchServer, ISupportErrorInfo

Search Server Message Proxy.

See Also:
Serialized Form

Constructor Summary
SearchServerIP()
          Constructs a SearchServerIP using ArcGIS Engine.
SearchServerIP(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SearchServerIP theSearchServerIP = (SearchServerIP) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IStringArray getDataSourceList()
          The list of dataSource path.
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 IIndexingOptions getIndexingOptions()
          The indexing options.
 IIndexingStatus getIndexingStatus()
          The indexing status.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void registerDataSource(IDataSourceConfiguration dataSourceConfiguration)
          Register data source to index.
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 void setIndexingOptions(IIndexingOptions pIndexingOptions)
          The indexing options.
 void unregisterDataSource(String path)
          Unregister Data Source.
 
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

SearchServerIP

public SearchServerIP()
               throws IOException,
                      UnknownHostException
Constructs a SearchServerIP using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SearchServerIP

public SearchServerIP(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SearchServerIP theSearchServerIP = (SearchServerIP) obj;

Construct a SearchServerIP using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SearchServerIP.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getFullName

public IName getFullName()
                  throws IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Product Availability

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

Specified by:
getFullName in interface IAGSServerObject2
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHttpTimeout

public void setHttpTimeout(int secs)
                    throws IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

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

Specified by:
setHttpTimeout in interface IAGSServerObject2
Parameters:
secs - The secs (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHttpTimeout

public int getHttpTimeout()
                   throws IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Product Availability

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

Specified by:
getHttpTimeout in interface IAGSServerObject2
Returns:
The secs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerDataSource

public void registerDataSource(IDataSourceConfiguration dataSourceConfiguration)
                        throws IOException,
                               AutomationException
Register data source to index.

Specified by:
registerDataSource in interface ISearchServer
Parameters:
dataSourceConfiguration - A reference to a com.esri.arcgis.search.IDataSourceConfiguration (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unregisterDataSource

public void unregisterDataSource(String path)
                          throws IOException,
                                 AutomationException
Unregister Data Source.

Specified by:
unregisterDataSource in interface ISearchServer
Parameters:
path - The path (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataSourceList

public IStringArray getDataSourceList()
                               throws IOException,
                                      AutomationException
The list of dataSource path.

Specified by:
getDataSourceList in interface ISearchServer
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIndexingOptions

public IIndexingOptions getIndexingOptions()
                                    throws IOException,
                                           AutomationException
The indexing options.

Specified by:
getIndexingOptions in interface ISearchServer
Returns:
A reference to a com.esri.arcgis.search.IIndexingOptions
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIndexingOptions

public void setIndexingOptions(IIndexingOptions pIndexingOptions)
                        throws IOException,
                               AutomationException
The indexing options.

Specified by:
setIndexingOptions in interface ISearchServer
Parameters:
pIndexingOptions - A reference to a com.esri.arcgis.search.IIndexingOptions (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIndexingStatus

public IIndexingStatus getIndexingStatus()
                                  throws IOException,
                                         AutomationException
The indexing status.

Specified by:
getIndexingStatus in interface ISearchServer
Returns:
A reference to a com.esri.arcgis.search.IIndexingStatus
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.