com.apama.file
Event ReadLines


The ReadLines event is a request to the File Adapter to read line(s), which in response will return FileLine events.
Member summary
 stringtransportName

The name of the transport being used within the file adapter.
 integerrequestId

The request Id. Corresponding FileLine events will have the same request id.
 integersessionId

The session Id this read line event is coming from.
 integernumberOfLines

The number of lines to read. As each line is read, a FileLine event will be sent from the Adapter in response to this request.
 
Member detail

numberOfLines

integer numberOfLines
The number of lines to read. As each line is read, a FileLine event will be sent from the Adapter in response to this request.

When opening a single file, the Adapter will continue to probe the file until lines are available.

If a wildcard pattern was specified and the end of file is reached before the specified number of lines have been read, the file will be closed, an EndOfFile event will be sent, and if a new file is available, it will send a NewFileOpened event and read the remaining number of lines from this. If a new file is not available, the Adapter will wait until one is available.

requestId

integer requestId
The request Id. Corresponding FileLine events will have the same request id.

sessionId

integer sessionId
The session Id this read line event is coming from.

transportName

string transportName
The name of the transport being used within the file adapter.