- All Superinterfaces:
Object
Iterates over an IceGrid log file.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::FileIterator.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classHolds the result of operation read.Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptionvoidDestroys the iterator.default CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.Read lines from the log file.
-
Method Details
-
read
Read lines from the log file.- Parameters:
size- Specifies the maximum number of bytes to be received. The server will ensure that the returned message doesn't exceed the given size.current- the Current object of the incoming request- Returns:
- an instance of FileIterator.ReadResult
- Throws:
FileNotAvailableException- Thrown when the implementation failed to read from the file.
-
destroy
Destroys the iterator.- Parameters:
current- the Current object of the incoming request
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::FileIterator"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-