com.esri.arcgis.search
Class GPItemIndexerLogger

java.lang.Object
  extended by com.esri.arcgis.search.GPItemIndexerLogger
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IGPItemIndexerLogger, Serializable

public class GPItemIndexerLogger
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPItemIndexerLogger

Log for both desktop and server

See Also:
Serialized Form

Constructor Summary
GPItemIndexerLogger()
          Constructs a GPItemIndexerLogger using ArcGIS Engine.
GPItemIndexerLogger(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPItemIndexerLogger theGPItemIndexerLogger = (GPItemIndexerLogger) obj;
 
Method Summary
 void addMessage(int level, String operationName, int messageCode, String message)
          Add message to logger for both server and desktop.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
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

GPItemIndexerLogger

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

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

GPItemIndexerLogger

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

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

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

addMessage

public void addMessage(int level,
                       String operationName,
                       int messageCode,
                       String message)
                throws IOException,
                       AutomationException
Add message to logger for both server and desktop.

Specified by:
addMessage in interface IGPItemIndexerLogger
Parameters:
level - The level (in)
operationName - The operationName (in)
messageCode - The messageCode (in)
message - The message (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.