Interface MessageResultHandler
- All Known Implementing Classes:
SendRequestHandle
public interface MessageResultHandler
Callback interface for receiving results from a message request.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the request fails with an error.voidCalled when the request completes successfully.
-
Method Details
-
errorResult
Called when the request fails with an error.- Parameters:
e- The exception that occurred.
-
successResult
Called when the request completes successfully.- Parameters:
v- The result of the request.
-