Package com.rpl.agentorama
Interface AgentClient.StreamCallback<T>
- Type Parameters:
T- the type of chunks being streamed
- Enclosing interface:
AgentClient
public static interface AgentClient.StreamCallback<T>
Callback interface for streaming data from a single node invoke.
-
Method Summary
-
Method Details
-
onUpdate
Called when new data chunks are available.- Parameters:
allChunks- all chunks received so farnewChunks- new chunks in this updateisReset- true if the stream was reset because the node failed and retriedisComplete- true if streaming is finished
-