- Type Parameters:
I - The representation for document input
O - The representation for document output
- All Superinterfaces:
IOEndpoint.BulkIOEndpointCaller
- Enclosing interface:
- InputOutputCaller<I,O>
Provides an interface for completing a unit of
work by repeated calls to the input-output endpoint.
- See Also:
-
-
Nested Class Summary
Nested Classes
static
interface
A function implementation that specifies the
disposition of a failed call.
-
Method Summary
void
Accepts an input item for the endpoint.
void
Accepts multiple input items for the
endpoint.
void
Provides a callback specifies the disposition of
a failed call.
void
Specifies the function to call on receiving
output from the endpoint.
-
Method Details
-
setOutputListener
Specifies the function to call on receiving
output from the endpoint.
- Parameters:
listener - a function for processing the endpoint
output
-
accept
Accepts an input item for the endpoint. Items
are queued and submitted to the endpoint in batches.
- Parameters:
input - one input item
-
acceptAll
void acceptAll(I[] input)
Accepts multiple input items for the endpoint.
Items are queued and submitted to the endpoint in batches.
- Parameters:
input - multiple input items.
-
setErrorListener
Provides a callback specifies the disposition of
a failed call.
- Parameters:
errorListener - the lambda or other implementation
of the error listener
Copyright (c) 2010-2025 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.