Interface DocumentChannel.DocumentCallback<K>
- Enclosing interface:
- DocumentChannel<T>
public static interface DocumentChannel.DocumentCallback<K>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
channelError
(K key, Exception exception) Invoked when document channel reports an error delivering this documentvoid
documentAccepted
(K key) Invoked when document channel has accepted the associated message
-
Method Details
-
documentAccepted
Invoked when document channel has accepted the associated message- Parameters:
key
- the key passed toDocumentChannel.sendDocument(Object, Object, DocumentCallback)
-
channelError
Invoked when document channel reports an error delivering this document- Parameters:
key
- the key passed toDocumentChannel.sendDocument(Object, Object, DocumentCallback)
-