public class EventlogPipeFile extends IPCPipeFile
Contains methods to access a remote eventlog service.
Constructor and Description |
---|
EventlogPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
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(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, toString
public EventlogPipeFile(IPCSession sess, DCEPacket pkt, int handle, String name, int maxTx, int maxRx)
sess
- SMBIPCSessionpkt
- DCEPackethandle
- intname
- StringmaxTx
- intmaxRx
- intpublic final EventlogHandle openEventLog(String name) throws IOException, SMBException
name
- StringIOException
SMBException
public final int getNumberOfRecords(EventlogHandle handle) throws IOException, SMBException
handle
- EventlogHandleIOException
SMBException
public final int getOldestRecordNumber(EventlogHandle handle) throws IOException, SMBException
handle
- EventlogHandleIOException
SMBException
public final EventlogRecordList readContinueEventLog(EventlogHandle handle) throws IOException, SMBException
handle
- EventlogHandleIOException
SMBException
public final EventlogRecordList readEventLog(EventlogHandle handle, int flags, int recoff) throws IOException, SMBException
handle
- EventlogHandleflags
- intrecoff
- intIOException
SMBException
public final void closeEventlog(EventlogHandle handle) throws IOException, SMBException
handle
- EventlogHandleIOException
SMBException
Copyright © 2005–2018 Alfresco Software. All rights reserved.