|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.server.IServerLogProxy
public class IServerLogProxy
Provides access to members that query and retrieve log records.
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.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IServerLogProxy()
public IServerLogProxy(Object obj) throws IOException
IOException
protected IServerLogProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IServerLogQuery createQuery() throws IOException, AutomationException
The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method.
createQuery
in interface IServerLog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLogRecords(IServerLogQuery pQuery) throws IOException, AutomationException
The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.
getLogRecords
in interface IServerLog
pQuery
- A reference to a com.esri.arcgis.server.IServerLogQuery (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |