public class EventlogPipeFile extends IPCPipeFile
Contains methods to access a remote eventlog service.
| Constructor and Description |
|---|
EventlogPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
java.lang.String name,
int maxTx,
int maxRx)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeEventlog(EventlogHandle handle)
Close the event log
|
int |
getNumberOfRecords(EventlogHandle handle)
Return the number of available event log records for the specified log
|
int |
getOldestRecordNumber(EventlogHandle handle)
Return the oldest record number for the specified log
|
EventlogHandle |
openEventLog(java.lang.String name)
Open the specified event log
|
EventlogRecordList |
readContinueEventLog(EventlogHandle handle)
Continue reading event log records
|
EventlogRecordList |
readEventLog(EventlogHandle handle,
int flags,
int recoff)
Read event log records
|
checkStatus, ClosePipe, doDCERequest, doDCERequest, getBuffer, getCallId, getHandle, getMaximumReceiveSize, getMaximumTransmitSize, getNextCallId, getPacket, getPipeName, getRxBuffer, getSession, isClosed, setMaximumReceiveSize, setMaximumTransmitSize, toStringpublic EventlogPipeFile(IPCSession sess, DCEPacket pkt, int handle, java.lang.String name, int maxTx, int maxRx)
sess - SMBIPCSessionpkt - DCEPackethandle - intname - StringmaxTxSize - intmaxRxSize - intpublic final EventlogHandle openEventLog(java.lang.String name) throws java.io.IOException, SMBException
name - Stringjava.io.IOExceptionSMBExceptionpublic final int getNumberOfRecords(EventlogHandle handle) throws java.io.IOException, SMBException
handle - EventlogHandlejava.io.IOExceptionSMBExceptionpublic final int getOldestRecordNumber(EventlogHandle handle) throws java.io.IOException, SMBException
handle - EventlogHandlejava.io.IOExceptionSMBExceptionpublic final EventlogRecordList readContinueEventLog(EventlogHandle handle) throws java.io.IOException, SMBException
handle - EventlogHandlejava.io.IOExceptionSMBExceptionpublic final EventlogRecordList readEventLog(EventlogHandle handle, int flags, int recoff) throws java.io.IOException, SMBException
handle - EventlogHandleflags - intrecoff - intjava.io.IOExceptionSMBExceptionpublic final void closeEventlog(EventlogHandle handle) throws java.io.IOException, SMBException
handle - EventlogHandlejava.io.IOExceptionSMBExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.