com.esri.arcgis.server
Class IServerLogProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerLogProxy
All Implemented Interfaces:
IServerLog, Externalizable, Serializable

public class IServerLogProxy
extends com.esri.arcgis.interop.Dispatch
implements IServerLog, Serializable

Provides access to members that query and retrieve log records.

Remarks

The IServerLog interface is used to query and retrieve records from the logs on disk. A reference to this interface is acquired through the ServerLog property of the IServerObjectAdmin2 interface.

The IServerLog interface has two methods. The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method which returns a string containing the logs matching the query parameters.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServerLogProxy()
           
  IServerLogProxy(Object obj)
           
protected IServerLogProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IServerLogQuery createQuery()
          Creates an IServerLogQuery for interrogating the ArcGIS server logs.
 String getLogRecords(IServerLogQuery pQuery)
          Retrieves ArcGIS Server log records using an IServerLogQuery.
 void removeListener(String iidStr, Object theListener)
           
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerLogProxy

public IServerLogProxy()

IServerLogProxy

public IServerLogProxy(Object obj)
                throws IOException
Throws:
IOException

IServerLogProxy

protected IServerLogProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

createQuery

public IServerLogQuery createQuery()
                            throws IOException,
                                   AutomationException
Creates an IServerLogQuery for interrogating the ArcGIS server logs.

Remarks

The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method.

Product Availability

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

Specified by:
createQuery in interface IServerLog
Returns:
A reference to a com.esri.arcgis.server.IServerLogQuery
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogRecords

public String getLogRecords(IServerLogQuery pQuery)
                     throws IOException,
                            AutomationException
Retrieves ArcGIS Server log records using an IServerLogQuery.

Remarks

The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.

Product Availability

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

Specified by:
getLogRecords in interface IServerLog
Parameters:
pQuery - A reference to a com.esri.arcgis.server.IServerLogQuery (in)
Returns:
The results
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.