com.esri.arcgis.search
Class SearchServerLP

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

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

Map Server LAN Proxy.

See Also:
Serialized Form

Constructor Summary
SearchServerLP()
          Constructs a SearchServerLP using ArcGIS Engine.
SearchServerLP(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SearchServerLP theSearchServerLP = (SearchServerLP) 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

SearchServerLP

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

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

SearchServerLP

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

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

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.