com.esri.arcgis.system
Class ILog2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.ILogProxy
          extended by com.esri.arcgis.system.ILog2Proxy
All Implemented Interfaces:
ILog, ILog2, Externalizable, Serializable

public class ILog2Proxy
extends ILogProxy
implements ILog2, Serializable

Provides access to methods for accessing a log.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  ILog2Proxy()
           
  ILog2Proxy(Object obj)
           
protected ILog2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void addMessageEx(int msgType, String methodName, int msgCode, double elapsed, String msg)
          Adds a message to the log.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 boolean willLog(int msgType)
          True if the message type is allowed to be written into the log file.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.system.ILogProxy
addMessage
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.system.ILog
addMessage
 

Constructor Detail

ILog2Proxy

public ILog2Proxy()

ILog2Proxy

public ILog2Proxy(Object obj)
           throws IOException
Throws:
IOException

ILog2Proxy

protected ILog2Proxy(Object obj,
                     String iid)
              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class ILogProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ILogProxy
Throws:
IOException

willLog

public boolean willLog(int msgType)
                throws IOException,
                       AutomationException
True if the message type is allowed to be written into the log file.

Product Availability

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

Specified by:
willLog in interface ILog2
Parameters:
msgType - The msgType (in)
Returns:
The willLog
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessageEx

public void addMessageEx(int msgType,
                         String methodName,
                         int msgCode,
                         double elapsed,
                         String msg)
                  throws IOException,
                         AutomationException
Adds a message to the log.

Product Availability

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

Specified by:
addMessageEx in interface ILog2
Parameters:
msgType - The msgType (in)
methodName - The methodName (in)
msgCode - The msgCode (in)
elapsed - The elapsed (in)
msg - The msg (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class ILogProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class ILogProxy
Throws:
IOException
ClassNotFoundException