org.apache.catalina.tribes
public interface ErrorHandler
ErrorHandler
class is used when sending messages
that are sent asynchronously and the application still needs to get
confirmation when the message was sent successfully or when a message errored out.Version: 1.0
Method Summary | |
---|---|
void | handleCompletion(UniqueId id)
Invoked when the message has been sent successfully. |
void | handleError(ChannelException x, UniqueId id)
Invoked if the message is dispatched asynch, and an error occurs |
Parameters: id - the unique id for the message
Parameters: x ChannelException - the error that happened id - the unique id for the message