|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerLogImpl
public class ServerLogImpl
The ServerLogImp1 object which methods to query and retrieve records from the ArcGIS Server logs.
Constructor Summary | |
---|---|
ServerLogImpl(Object obj)
Construct a ServerLogImpl using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
IServerLogQuery |
createQuery()
Creates an IServerLogQuery for interrogating the ArcGIS server logs. |
boolean |
equals(Object o)
Compare this object with another |
String |
getLogRecords(IServerLogQuery pQuery)
Retrieves ArcGIS Server log records using an IServerLogQuery. |
int |
hashCode()
the hashcode for this object |
void |
releaseLog()
Release the server log back to the server so it can be used by another client. |
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 |
---|
public ServerLogImpl(Object obj) throws IOException
obj
to ServerLogImpl
. *
ServerLogImpl o = (ServerLogImpl)obj; // will not work
ServerLogImpl o = new ServerLogImpl(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerLogImpl theServerLogImpl = (ServerLogImpl) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
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.public void releaseLog() throws IOException, AutomationException
releaseLog
in interface IServerLog2
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 |