E - the type of the eventpublic class AsyncPosterAdapter<E extends AsyncEvent<?>> extends Object implements AsyncPoster<E>
AsyncPoster
Provides empty method bodies for AsyncPoster.onPreCall(AsyncEvent)
and AsyncPoster.onPostCall(AsyncEvent)| Constructor and Description |
|---|
AsyncPosterAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPostCall(E event)
Method that is called after an event has been posted and handled.
|
void |
onPreCall(E event)
Method that is called before an event is posted.
|
public void onPreCall(E event)
AsyncPosteronPreCall in interface AsyncPoster<E extends AsyncEvent<?>>event - the event that will be postedpublic void onPostCall(E event)
AsyncPosteronPostCall in interface AsyncPoster<E extends AsyncEvent<?>>event - the event that has been postedCopyright © 2020. All rights reserved.